diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1998-04-09 21:21:21 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1998-04-09 21:21:21 +0000 |
commit | 49f429132a0d41ef6d6d58dec4fb735c5decc5a5 (patch) | |
tree | d764369ec52fd77727d164e21e8ec072ebd0180e /ace/SOCK.cpp | |
parent | 7fde5f76146c6c3aed3f0a302192ef0e32cf2b12 (diff) | |
download | ATCD-49f429132a0d41ef6d6d58dec4fb735c5decc5a5.tar.gz |
*** empty log message ***
Diffstat (limited to 'ace/SOCK.cpp')
-rw-r--r-- | ace/SOCK.cpp | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/ace/SOCK.cpp b/ace/SOCK.cpp index 3347ae4652d..914de1caddc 100644 --- a/ace/SOCK.cpp +++ b/ace/SOCK.cpp @@ -57,14 +57,18 @@ ACE_SOCK::open (int type, ACE_TRACE ("ACE_SOCK::open"); int one = 1; - this->set_handle (ACE_OS::socket (protocol_family, type, protocol)); + this->set_handle (ACE_OS::socket (protocol_family, + type, + protocol)); if (this->get_handle () == ACE_INVALID_HANDLE) return -1; else if (protocol_family != PF_UNIX && reuse_addr - && this->set_option (SOL_SOCKET, SO_REUSEADDR, - &one, sizeof one) == -1) + && this->set_option (SOL_SOCKET, + SO_REUSEADDR, + &one, + sizeof one) == -1) { this->close (); return -1; |