Stupidity fixed in WaitOnConnect()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6429 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Guillermo Rodriguez Garcia 2000-03-04 02:42:13 +00:00
parent 261b9a3df1
commit 2b396caaa2

View File

@ -1139,7 +1139,8 @@ bool wxSocketClient::WaitOnConnect(long seconds, long milliseconds)
if (!m_establishing || !m_socket) // No connection in progress
return FALSE;
return _Wait(seconds, milliseconds, GSOCK_CONNECTION_FLAG);
return _Wait(seconds, milliseconds, GSOCK_CONNECTION_FLAG |
GSOCK_LOST_FLAG);
}
// ==========================================================================