summaryrefslogtreecommitdiff
path: root/ace/SOCK_Connector.cpp
diff options
context:
space:
mode:
authornw1 <nw1@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-10-11 00:51:47 +0000
committernw1 <nw1@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-10-11 00:51:47 +0000
commitee78455246eb6d774370ac6ec07b0376ffa72f02 (patch)
treecf2d7bea7f3ce7e55952d6ed8ca7f11294bd5007 /ace/SOCK_Connector.cpp
parent918df12d3886097419facedd1f59e9781d4f0c8e (diff)
downloadATCD-ee78455246eb6d774370ac6ec07b0376ffa72f02.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.cpp2
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);