How to link winsock.lib?

后端 未结 2 905
北海茫月
北海茫月 2020-12-01 23:47

In my C++ class, I use sockets.

I have some errors when linking because, in my opinion, the library winsock.lib is missing.

I included these:



        
2条回答
  •  情书的邮戳
    2020-12-02 00:00

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

提交回复
热议问题