summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOssama Othman <ossama-othman@users.noreply.github.com>1999-07-11 03:46:25 +0000
committerOssama Othman <ossama-othman@users.noreply.github.com>1999-07-11 03:46:25 +0000
commit4bfa9f0fa13212777ed1bd39c1c343a13c9915e2 (patch)
tree72346306e1e12ff81ffc3919bbd6ae5a3bc2975b
parent94b76ca7bf507ed3696c79d15df186ed45dbefb1 (diff)
downloadATCD-4bfa9f0fa13212777ed1bd39c1c343a13c9915e2.tar.gz
Added an "unlink_on_close_" member that flags whether or not the
UIOP rendezvous point should be unlinked when closing the acceptor. Currently this flag is only unset when an "address already in use" error (EADDRINUSE) occurs. An existing rendezvous point shouldn't be unlinked if errno == EADDRINUSE since it may be in use by another UIOP server/client. [Bug 52]
-rw-r--r--TAO/tao/UIOP_Acceptor.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/TAO/tao/UIOP_Acceptor.h b/TAO/tao/UIOP_Acceptor.h
index 1b76ae8bbf1..92a9389dd72 100644
--- a/TAO/tao/UIOP_Acceptor.h
+++ b/TAO/tao/UIOP_Acceptor.h
@@ -94,6 +94,11 @@ private:
TAO_ORB_Core *orb_core_;
// ORB Core.
+
+ int unlink_on_close_;
+ // Flag that determines whether or not the rendezvous point should
+ // be unlinked on close. This is really only used when an error
+ // occurs.
};
# endif /* !ACE_LACKS_UNIX_DOMAIN_SOCKETS */