Kaydet (Commit) 49db9034 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

Surely we want closesocket() on Windows

Change-Id: I13d5715248612c9b1b50314d72f5eca202debd04
üst eea3634b
...@@ -63,7 +63,11 @@ void BufferedStreamSocket::close() ...@@ -63,7 +63,11 @@ void BufferedStreamSocket::close()
{ {
if( usingCSocket ) if( usingCSocket )
{ {
#ifdef WIN32
::closesocket( mSocket );
#else
::close( mSocket ); ::close( mSocket );
#endif
mSocket = -1; mSocket = -1;
} }
else else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment