The lib file of winsock is “ws_32.lib” (or “ws2_32.lib”), please make sure you’ve added it.
More Related Contents:
- How to exit a blocking recv() call? [duplicate]
- C++ Socket Error (new initializer expression list treated as compound expression)
- Signed/unsigned comparisons
- How do I see a C/C++ source file after preprocessing in Visual Studio?
- Detecting TCP Client Disconnect
- Export all symbols when creating a DLL
- Output Unicode to console Using C++, in Windows
- How to set up Google C++ Testing Framework (gtest) with Visual Studio 2005
- What are some reasons a Release build would run differently than a Debug build [closed]
- Send and Receive a file in socket programming in Linux with C/C++ (GCC/G++)
- Automatically stop Visual C++ 2008 build at first compile error?
- Receiving Chunked HTTP Data With Winsock
- How to set a timeout on blocking sockets in boost asio?
- C++ Winsock P2P
- MinGW linker error: winsock
- Why is std::min failing when windows.h is included?
- will casting around sockaddr_storage and sockaddr_in break strict aliasing
- C++ – GetUserName() when process is run as administrator
- Handling partial return from recv() TCP in C
- How to set the don’t fragment (DF) flag on a socket?
- Boost::asio – how to interrupt a blocked tcp server thread?
- How do you throttle the bandwidth of a socket connection in C?
- TCP/IP connection on a specific interface
- How do I compile for Windows XP with Visual Studio 2012?
- C++ OpenCV image sending through socket
- Do I have to bind a UDP socket in my client program to receive data? (I always get WSAEINVAL)
- c++ how to use select to see if a socket has closed
- Where does one get the “sys/socket.h” header/source file?
- How to Run Only One Instance of Application
- How to use typelists