diff options
Diffstat (limited to 'ace/SOCK_Dgram_Bcast.inl')
-rw-r--r-- | ace/SOCK_Dgram_Bcast.inl | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/ace/SOCK_Dgram_Bcast.inl b/ace/SOCK_Dgram_Bcast.inl index 85c3312ef9d..00bb342be5e 100644 --- a/ace/SOCK_Dgram_Bcast.inl +++ b/ace/SOCK_Dgram_Bcast.inl @@ -1,8 +1,11 @@ -/* -*- C++ -*- */ +// -*- C++ -*- +// // $Id$ #include "ace/OS_NS_sys_socket.h" +ACE_BEGIN_VERSIONED_NAMESPACE_DECL + ACE_INLINE ACE_Bcast_Node::~ACE_Bcast_Node (void) { @@ -19,16 +22,16 @@ ACE_SOCK_Dgram_Bcast::~ACE_SOCK_Dgram_Bcast (void) ACE_INLINE ssize_t ACE_SOCK_Dgram_Bcast::send (const void *buf, - size_t n, - const ACE_Addr &addr, - int flags) const + size_t n, + const ACE_Addr &addr, + int flags) const { ACE_TRACE ("ACE_SOCK_Dgram_Bcast::send"); sockaddr *saddr = (sockaddr *) addr.get_addr (); int len = addr.get_size (); return ACE_OS::sendto (this->get_handle (), (const char *) buf, n, flags, - (struct sockaddr *) saddr, len); + (struct sockaddr *) saddr, len); } - +ACE_END_VERSIONED_NAMESPACE_DECL |