diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1997-04-16 10:02:20 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1997-04-16 10:02:20 +0000 |
commit | 26c63225a7e3f80fb238c906d71e94e2251a74e8 (patch) | |
tree | 933307298b561d15f4caf710c7c7e853431338a2 /ace/SOCK_Connector.cpp | |
parent | 358ae8fcecd3f5cbfb1ac32b267f8803df4ec94d (diff) | |
download | ATCD-26c63225a7e3f80fb238c906d71e94e2251a74e8.tar.gz |
*** empty log message ***
Diffstat (limited to 'ace/SOCK_Connector.cpp')
-rw-r--r-- | ace/SOCK_Connector.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ace/SOCK_Connector.cpp b/ace/SOCK_Connector.cpp index e7224370b1f..e38ac60e8fd 100644 --- a/ace/SOCK_Connector.cpp +++ b/ace/SOCK_Connector.cpp @@ -109,6 +109,9 @@ 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); #endif /* ACE_HAS_BROKEN_NON_BLOCKING_CONNECTS */ ACE_HANDLE h = ACE::handle_timed_complete (this->get_handle (), tv); |