From: Mikko Rasa Date: Mon, 15 Dec 2008 12:05:14 +0000 (+0000) Subject: Clear connected flag in Socket::close X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=861c4e9c54df7594a362013fdf6b1e048e935ae4;p=libs%2Fnet.git Clear connected flag in Socket::close --- diff --git a/source/socket.cpp b/source/socket.cpp index f24bcbe..6db6271 100644 --- a/source/socket.cpp +++ b/source/socket.cpp @@ -135,6 +135,7 @@ void Socket::close() ::close(handle); #endif handle=MSP_NET_INVALID_SOCKET_HANDLE; + connected=false; signal_closed.emit(); delete local_addr;