summaryrefslogtreecommitdiff
path: root/ace/LSOCK_Dgram.cpp
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1998-05-07 05:12:29 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1998-05-07 05:12:29 +0000
commit0ab60e058fd56ba859faeb74d4718ab703433b54 (patch)
treebfb5b615852b33d9ca1bf5dca032a737589a61d8 /ace/LSOCK_Dgram.cpp
parent8c977f9fec1b162063cb299b478930d11051f371 (diff)
downloadATCD-0ab60e058fd56ba859faeb74d4718ab703433b54.tar.gz
*** empty log message ***
Diffstat (limited to 'ace/LSOCK_Dgram.cpp')
-rw-r--r--ace/LSOCK_Dgram.cpp17
1 files changed, 10 insertions, 7 deletions
diff --git a/ace/LSOCK_Dgram.cpp b/ace/LSOCK_Dgram.cpp
index 2f4b466b4de..065b157c7d8 100644
--- a/ace/LSOCK_Dgram.cpp
+++ b/ace/LSOCK_Dgram.cpp
@@ -1,4 +1,3 @@
-// LSOCK_Dgram.cpp
// $Id$
#define ACE_BUILD_DLL
@@ -23,14 +22,14 @@ ACE_LSOCK_Dgram::dump (void) const
ACE_DEBUG ((LM_DEBUG, ACE_END_DUMP));
}
-/* The "do nothing" constructor. */
+// The "do nothing" constructor.
ACE_LSOCK_Dgram::ACE_LSOCK_Dgram (void)
{
ACE_TRACE ("ACE_LSOCK_Dgram::ACE_LSOCK_Dgram");
}
-/* Here's the general-purpose open routine. */
+// Here's the general-purpose open routine.
int
ACE_LSOCK_Dgram::open (const ACE_Addr &local,
@@ -38,23 +37,27 @@ ACE_LSOCK_Dgram::open (const ACE_Addr &local,
int protocol)
{
ACE_TRACE ("ACE_LSOCK_Dgram::open");
- if (ACE_SOCK_Dgram::open (local, protocol_family,
+ if (ACE_SOCK_Dgram::open (local,
+ protocol_family,
protocol) == -1)
return -1;
ACE_LSOCK::set_handle (this->ACE_SOCK_Dgram::get_handle ());
return 0;
}
-/* Create a local ACE_SOCK datagram. */
+// Create a local ACE_SOCK datagram.
ACE_LSOCK_Dgram::ACE_LSOCK_Dgram (const ACE_Addr &local,
int protocol_family,
int protocol)
{
ACE_TRACE ("ACE_LSOCK_Dgram::ACE_LSOCK_Dgram");
- if (this->open (local, protocol_family,
+ if (this->open (local,
+ protocol_family,
protocol) == -1)
- ACE_ERROR ((LM_ERROR, ASYS_TEXT ("%p\n"), ASYS_TEXT ("ACE_LSOCK_Dgram")));
+ ACE_ERROR ((LM_ERROR,
+ ASYS_TEXT ("%p\n"),
+ ASYS_TEXT ("ACE_LSOCK_Dgram")));
}
#endif /* ACE_LACKS_UNIX_DOMAIN_SOCKETS */