I need to link wsock32.lib how would I do that the #pragma comment(lib, "wsock32.lib") Doesn't work I know that is VC++ though. Any help?
-lwsock32 in linker options. However, don't use wsock32.dll, use ws2_32.dll instead: -lws2_32
Log in to post a comment.
I need to link wsock32.lib how would I do that the #pragma comment(lib, "wsock32.lib")
Doesn't work I know that is VC++ though. Any help?
-lwsock32 in linker options. However, don't use wsock32.dll, use ws2_32.dll instead:
-lws2_32