use a smaller timeout value to avoid blocking buildslaves for 10minutes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60860 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -336,6 +336,7 @@ extern bool IsNetworkAvailable()
|
||||
}
|
||||
|
||||
wxSocketClient sock;
|
||||
sock.SetTimeout(10); // 10 secs
|
||||
bool online = sock.Connect(addr);
|
||||
|
||||
wxSocketBase::Shutdown();
|
||||
|
Reference in New Issue
Block a user