seems a prob in win
This commit is contained in:
parent
fde580b08e
commit
35bf2101fe
@ -125,7 +125,9 @@ class TCPSocket {
|
||||
* \brief shutdown the socket module after use, all sockets need to be closed
|
||||
*/
|
||||
inline static void Finalize(void) {
|
||||
#ifdef _WIN32
|
||||
WSACleanup();
|
||||
#endif
|
||||
}
|
||||
/*!
|
||||
* \brief set this socket to use non-blocking mode
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user