diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 2006-09-25 16:34:03 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 2006-09-25 16:34:03 +0000 |
commit | c36326b113c90a7b97b51baf73850abe17626aa2 (patch) | |
tree | 3a858c9a3eb660f38595c202e0c67e18148e0b73 /ACE/ace/ACE.cpp | |
parent | 5062e7e87ec77a82a8c9c00f31ba03aa81c1ac88 (diff) | |
download | ATCD-c36326b113c90a7b97b51baf73850abe17626aa2.tar.gz |
ChangeLogTag:Mon
Diffstat (limited to 'ACE/ace/ACE.cpp')
-rw-r--r-- | ACE/ace/ACE.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ACE/ace/ACE.cpp b/ACE/ace/ACE.cpp index 5367e60018d..ae6b1fb8031 100644 --- a/ACE/ace/ACE.cpp +++ b/ACE/ace/ACE.cpp @@ -1430,7 +1430,11 @@ ACE::send_n_i (ACE_HANDLE handle, if (n == -1) { // Check for possible blocking. +#if defined (ACE_WIN32) + if (errno == EWOULDBLOCK) // If enobufs no need to loop +#else if (errno == EWOULDBLOCK || errno == ENOBUFS) +#endif /* ACE_WIN32 */ { // Wait for the blocking to subside. int result = ACE::handle_write_ready (handle, |