diff options
author | Ossama Othman <ossama-othman@users.noreply.github.com> | 2005-10-28 23:55:10 +0000 |
---|---|---|
committer | Ossama Othman <ossama-othman@users.noreply.github.com> | 2005-10-28 23:55:10 +0000 |
commit | e32a736ff14f2758a139bdb782db5ce9bab41a44 (patch) | |
tree | 72b3ef7a314c64d03b5b4aced6c03ae96dd6a362 /ace/UPIPE_Connector.inl | |
parent | 0db151e9845b5f6b7c775e1465db708d86fde66d (diff) | |
download | ATCD-e32a736ff14f2758a139bdb782db5ce9bab41a44.tar.gz |
ChangeLogTag:Fri Oct 28 00:01:06 2005 Ossama Othman <ossama@dre.vanderbilt.edu>
Diffstat (limited to 'ace/UPIPE_Connector.inl')
-rw-r--r-- | ace/UPIPE_Connector.inl | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/ace/UPIPE_Connector.inl b/ace/UPIPE_Connector.inl index 980d8a28164..b45134f1067 100644 --- a/ace/UPIPE_Connector.inl +++ b/ace/UPIPE_Connector.inl @@ -1,6 +1,9 @@ -/* -*- C++ -*- */ +// -*- C++ -*- +// // $Id$ +ACE_BEGIN_VERSIONED_NAMESPACE_DECL + // Creates a Local ACE_UPIPE. ACE_INLINE ACE_UPIPE_Connector::ACE_UPIPE_Connector (ACE_UPIPE_Stream &new_stream, @@ -13,7 +16,7 @@ ACE_UPIPE_Connector::ACE_UPIPE_Connector (ACE_UPIPE_Stream &new_stream, { ACE_TRACE ("ACE_UPIPE_Connector::ACE_UPIPE_Connector"); if (this->connect (new_stream, addr, timeout, local_sap, - reuse_addr, flags, perms) == -1 + reuse_addr, flags, perms) == -1 && timeout != 0 && !(errno == EWOULDBLOCK || errno == ETIME)) ACE_ERROR ((LM_ERROR, ACE_LIB_TEXT ("address %s, %p\n"), @@ -22,9 +25,10 @@ ACE_UPIPE_Connector::ACE_UPIPE_Connector (ACE_UPIPE_Stream &new_stream, } ACE_INLINE int -ACE_UPIPE_Connector::reset_new_handle (ACE_HANDLE handle) +ACE_UPIPE_Connector::reset_new_handle (ACE_HANDLE /* handle */) { - ACE_UNUSED_ARG (handle); // Nothing to do here since the handle is not a socket return 0; } + +ACE_END_VERSIONED_NAMESPACE_DECL |