May 20, 2004
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 20, 2004
"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