www.digitalmars.com         C & C++   DMDScript  

D - socket libary

reply imr1984 <imr1984_member pathlink.com> writes:
is there a decent socket/winsock library about ? The one on www.dprogramming.com
doesnt work with the standard windows.d file. It would be quicker for me to just
copy & edit the C declarations than to use that one.
Jan 22 2004
next sibling parent imr1984 <imr1984_member pathlink.com> writes:
ok, i take that back, but i had to change a few lines, like the import, adding a
LPHANDLE alias, and commenting the call to __WSAFDIsSet. It works now.


In article <buocrs$1j0g$1 digitaldaemon.com>, imr1984 says...
is there a decent socket/winsock library about ? The one on www.dprogramming.com
doesnt work with the standard windows.d file. It would be quicker for me to just
copy & edit the C declarations than to use that one.

Jan 22 2004
prev sibling parent Burton Radons <loth users.sourceforge.net> writes:
imr1984 wrote:
 is there a decent socket/winsock library about ? The one on
www.dprogramming.com
 doesnt work with the standard windows.d file. It would be quicker for me to
just
 copy & edit the C declarations than to use that one.

I wrote one back in March 2002 that inherits from Stream (http://www.opend.org/urllib.zip). It also has functionality for loading URLs, although everything about sockets are isolated in "socket.d".
Jan 22 2004