Thread overview
socket libary
Jan 22, 2004
imr1984
Jan 22, 2004
imr1984
Jan 22, 2004
Burton Radons
January 22, 2004
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.


January 22, 2004
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.
>
>


January 22, 2004
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".