Skip to content
Snippets Groups Projects
Commit 0e43fe3b authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

shorter sleep before connect

parent a029b667
No related branches found
No related tags found
No related merge requests found
...@@ -249,7 +249,7 @@ class GmshClient : public GmshSocket { ...@@ -249,7 +249,7 @@ class GmshClient : public GmshSocket {
{ {
// slight delay to make sure that the socket is bound by the // slight delay to make sure that the socket is bound by the
// server before we attempt to connect to it // server before we attempt to connect to it
_Sleep(100); _Sleep(10);
if(strstr(sockname, "/") || strstr(sockname, "\\") || !strstr(sockname, ":")){ if(strstr(sockname, "/") || strstr(sockname, "\\") || !strstr(sockname, ":")){
#if !defined(WIN32) || defined(__CYGWIN__) #if !defined(WIN32) || defined(__CYGWIN__)
// UNIX socket (testing ":" is not enough with Windows paths) // UNIX socket (testing ":" is not enough with Windows paths)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment