Thanks! I have removed wsock32, now the wget executable on Windows links to ws2_32.
Cheers, Giuseppe Keisial <keis...@gmail.com> writes: > If you use ws2_32 you don't need to link with wsock32. In fact wsock32 > is mostly forwarded functions. > Linking to wsock32 and not ws2_32 has the advantage that it works in old > windows versions* but if you are linking with ws2_32, I think it would > break on them with ws2_32.dll not found, that you would need to > dynamically load it to produce a -more or less- universal binary. > > > *And by old it is very old. Winsock 2 came with Windows 98 and Windows > NT4. It can be installed into Windows 95. > http://www.sockets.com/winsock2.htm#Status