diff --git a/Common/GmshSocket.h b/Common/GmshSocket.h index 9b1746a2f355ca135e0b5b6b65af7612646f1271..d47f5f4eac59ae880cb422b74ff648fe334cfa49 100644 --- a/Common/GmshSocket.h +++ b/Common/GmshSocket.h @@ -249,7 +249,7 @@ class GmshClient : public GmshSocket { { // slight delay to make sure that the socket is bound by the // server before we attempt to connect to it - _Sleep(100); + _Sleep(10); if(strstr(sockname, "/") || strstr(sockname, "\\") || !strstr(sockname, ":")){ #if !defined(WIN32) || defined(__CYGWIN__) // UNIX socket (testing ":" is not enough with Windows paths)