www.digitalmars.com         C & C++   DMDScript  

D - sockets

reply "Carlos Santander B." <carlos8294 msn.com> writes:
Hi,
I'd like to know if someone has plans for implementing sockets in D.
Not that I want to do it, because I have no idea how that'd be.


-------------------------
Carlos Santander
http://carlos3.netfirms.com/


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.445 / Virus Database: 250 - Release Date: 2003-01-21
Jan 22 2003
parent reply Jonathan Andrew <Jonathan_member pathlink.com> writes:
In article <b0niaa$1uh5$1 digitaldaemon.com>, Carlos Santander B. says...
Hi,
I'd like to know if someone has plans for implementing sockets in D.
Not that I want to do it, because I have no idea how that'd be.


-------------------------
Carlos Santander
http://carlos3.netfirms.com/

Pavel Minayev has created a library for sockets in D, I'm not sure how mature it is, but you can check it out at http://int19h.tamb.ru/projects.html BTW, whatever happened to Pavel? -Jon
Jan 22 2003
next sibling parent "Carlos Santander B." <carlos8294 msn.com> writes:
"Jonathan Andrew" <Jonathan_member pathlink.com> escribiσ en el mensaje
news:b0nuva$25tn$1 digitaldaemon.com...
| In article <b0niaa$1uh5$1 digitaldaemon.com>, Carlos Santander B. says...
| >
| >Hi,
| >I'd like to know if someone has plans for implementing sockets in D.
| >Not that I want to do it, because I have no idea how that'd be.
| >
| >
| >-------------------------
| >Carlos Santander
| >http://carlos3.netfirms.com/
| >
|
| Pavel Minayev has created a library for sockets in D, I'm not sure how
mature
| it is, but you can check it out at http://int19h.tamb.ru/projects.html
|

According to his website, they're complete. I'll check out.

| BTW, whatever happened to Pavel?
|
| -Jon
|
|

Not only him. Some others have *misteriously* disappeared... Many insightful
comments are lost for them not being around anymore.

—————————————————————————
Carlos Santander
http://carlos3.netfirms.com/


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.445 / Virus Database: 250 - Release Date: 2003-01-21
Jan 23 2003
prev sibling parent reply "Carlos Santander B." <carlos8294 msn.com> writes:
"Jonathan Andrew" <Jonathan_member pathlink.com> escribiσ en el mensaje
news:b0nuva$25tn$1 digitaldaemon.com...
| Pavel Minayev has created a library for sockets in D, I'm not sure how
mature
| it is, but you can check it out at http://int19h.tamb.ru/projects.html
|

I'm trying to compile the socket project from Pavel. WinSock compiles just
fine, but socket doesn't. I get this message (btw, I had to cast A LOT to
SOCKET from int):

socket.d: class IP 2duplicate union initialization for address

What's that?

—————————————————————————
Carlos Santander
http://carlos3.netfirms.com/


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.445 / Virus Database: 250 - Release Date: 2003-01-21
Jan 23 2003
parent reply Jonathan Andrew <Jonathan_member pathlink.com> writes:
I am probably mistaken, but it could be due to differences in the D compiler 
since socket.d was written. It may even use deprecated C functionality that
was present in older versions of dmd. I'm guessing that socket hasn't been
upgraded since Pavel last appeared here, and the compiler has gone through
several revisions since then.

-Jon

I'm trying to compile the socket project from Pavel. WinSock compiles just
fine, but socket doesn't. I get this message (btw, I had to cast A LOT to
SOCKET from int):

socket.d: class IP 2duplicate union initialization for address

What's that?

—————————————————————————
Carlos Santander
http://carlos3.netfirms.com/


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.445 / Virus Database: 250 - Release Date: 2003-01-21

Jan 23 2003
parent "Mike Wynn" <mike.wynn l8night.co.uk> writes:
My local fixes. to sockets.d

"Jonathan Andrew" <Jonathan_member pathlink.com> wrote in message
news:b0pmkr$414$1 digitaldaemon.com...
 I am probably mistaken, but it could be due to differences in the D

 since socket.d was written. It may even use deprecated C functionality

 was present in older versions of dmd. I'm guessing that socket hasn't been
 upgraded since Pavel last appeared here, and the compiler has gone through
 several revisions since then.

 -Jon

I'm trying to compile the socket project from Pavel. WinSock compiles


fine, but socket doesn't. I get this message (btw, I had to cast A LOT to
SOCKET from int):

socket.d: class IP 2duplicate union initialization for address

What's that?

-------------------------
Carlos Santander
http://carlos3.netfirms.com/


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.445 / Virus Database: 250 - Release Date: 2003-01-21


Jan 23 2003