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