From cb31ec70586fc0a37c04aff146d99ea62eaecfc7 Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Thu, 2 Feb 2012 10:27:00 +0000 Subject: [PATCH] remove initial sleep() before connect --- Common/GmshSocket.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/Common/GmshSocket.h b/Common/GmshSocket.h index d47f5f4eac..cc697879cf 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) -- GitLab