www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Sockets

reply Malevolyn <Malevolyn_member pathlink.com> writes:
Anyone having trouble linking sockets on Win32? Is there a fix for this problem?

Error (multiple):
C:\d\dmc\dmd\bin\..\lib\phobos.lib(socket)
Error 42: Symbol Undefined _WSACleanup 0

As far as I can tell, sockets WERE compiled successfully.
May 19 2004
parent "Carlos Santander B." <carlos8294 msn.com> writes:
"Malevolyn" <Malevolyn_member pathlink.com> escribió en el mensaje
news:c8h4h5$1eh1$1 digitaldaemon.com
| Anyone having trouble linking sockets on Win32? Is there a fix for this
problem?
|
| Error (multiple):
| C:\d\dmc\dmd\bin\..\lib\phobos.lib(socket)
| Error 42: Symbol Undefined _WSACleanup 0
|
| As far as I can tell, sockets WERE compiled successfully.

link with ws2_32.lib:
dmd [program] ws2_32.lib

-----------------------
Carlos Santander Bernal
May 19 2004