diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1997-04-25 03:49:18 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1997-04-25 03:49:18 +0000 |
commit | 043a67bf38b04a8b8df4b160d6e80d4fdca778c8 (patch) | |
tree | be494b629d321ad771eba4daf43e2b4ba429b1a6 /ace/SOCK_Connector.cpp | |
parent | 91a8bd260d74d9d9e31e9353a45149a988cf130f (diff) | |
download | ATCD-043a67bf38b04a8b8df4b160d6e80d4fdca778c8.tar.gz |
*** empty log message ***
Diffstat (limited to 'ace/SOCK_Connector.cpp')
-rw-r--r-- | ace/SOCK_Connector.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/ace/SOCK_Connector.cpp b/ace/SOCK_Connector.cpp index e38ac60e8fd..5d7335910a4 100644 --- a/ace/SOCK_Connector.cpp +++ b/ace/SOCK_Connector.cpp @@ -110,9 +110,10 @@ ACE_SOCK_Connector::complete (ACE_SOCK_Stream &new_stream, ACE_TRACE ("ACE_SOCK_Connector::complete"); #if defined (ACE_HAS_BROKEN_NON_BLOCKING_CONNECTS) // Win32 has a timing problem - if you check to see if the - // connection has completed too fast, it will fail - so wait a bit - // to let it catch up. - ACE_OS::sleep (0); + // connection has completed too fast, it will fail - so wait 1 + // millisecond to let it catch up. + ACE_Time_Value tv (0, 1000); + ACE_OS::sleep (tv); #endif /* ACE_HAS_BROKEN_NON_BLOCKING_CONNECTS */ ACE_HANDLE h = ACE::handle_timed_complete (this->get_handle (), tv); |