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:
@@ -1139,7 +1139,8 @@ bool wxSocketClient::WaitOnConnect(long seconds, long milliseconds)
|
|||||||
if (!m_establishing || !m_socket) // No connection in progress
|
if (!m_establishing || !m_socket) // No connection in progress
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
return _Wait(seconds, milliseconds, GSOCK_CONNECTION_FLAG);
|
return _Wait(seconds, milliseconds, GSOCK_CONNECTION_FLAG |
|
||||||
|
GSOCK_LOST_FLAG);
|
||||||
}
|
}
|
||||||
|
|
||||||
// ==========================================================================
|
// ==========================================================================
|
||||||
|
Reference in New Issue
Block a user