diff options
author | nw1 <nw1@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-10-11 00:51:47 +0000 |
---|---|---|
committer | nw1 <nw1@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-10-11 00:51:47 +0000 |
commit | 4e23a2cb51714d082ee7fea96bc3acd7e9aac15a (patch) | |
tree | cf2d7bea7f3ce7e55952d6ed8ca7f11294bd5007 /ace/SOCK_Connector.cpp | |
parent | c935e587713f18f5f46149e2f7922846a6e74008 (diff) | |
download | ATCD-4e23a2cb51714d082ee7fea96bc3acd7e9aac15a.tar.gz |
Made non-blocking connection checking delay an constant in ACE_OS class.
Diffstat (limited to 'ace/SOCK_Connector.cpp')
-rw-r--r-- | ace/SOCK_Connector.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ace/SOCK_Connector.cpp b/ace/SOCK_Connector.cpp index 8d1911bc900..3b28e038933 100644 --- a/ace/SOCK_Connector.cpp +++ b/ace/SOCK_Connector.cpp @@ -109,7 +109,7 @@ ACE_SOCK_Connector::complete (ACE_SOCK_Stream &new_stream, // Win32 has a timing problem - if you check to see if the // connection has completed too fast, it will fail - so wait 1 // millisecond to let it catch up. - ACE_Time_Value time (0, 1000); + ACE_Time_Value time (0, ACE_OS::NON_BLOCKING_BUG_DEALY); ACE_OS::sleep (time); #endif /* ACE_HAS_BROKEN_NON_BLOCKING_CONNECTS */ ACE_HANDLE h = ACE::handle_timed_complete (new_stream.get_handle (), tv); |