How to link winsock.lib?

The lib file of winsock is “ws_32.lib” (or “ws2_32.lib”), please make sure you’ve added it.

Leave a Comment