2 #include "ace/OS_NS_sys_socket.h"
4 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
7 ACE_Bcast_Node::~ACE_Bcast_Node (void)
12 ACE_SOCK_Dgram_Bcast::~ACE_SOCK_Dgram_Bcast (void)
14 ACE_TRACE ("ACE_SOCK_Dgram_Bcast::~ACE_SOCK_Dgram_Bcast");
17 // Broadcast an N byte datagram to ADDR (note that addr must be
18 // preassigned to the broadcast address of the subnet...)
21 ACE_SOCK_Dgram_Bcast::send (const void *buf,
26 ACE_TRACE ("ACE_SOCK_Dgram_Bcast::send");
28 sockaddr *saddr = (sockaddr *) addr.get_addr ();
29 int len = addr.get_size ();
30 return ACE_OS::sendto (this->get_handle (), (const char *) buf, n, flags,
31 (struct sockaddr *) saddr, len);
34 ACE_END_VERSIONED_NAMESPACE_DECL