|
ucommon
|
Representing a UDP socket used for subnet broadcasts, this class provides an alternate binding and setPeer() capability for UDP sockets. More...
#include <udp.h>


Public Member Functions | |
| void | setPeer (IPV4Broadcast &subnet, tpport_t port) |
| Set peer by subnet rather than specific host. | |
| UDPBroadcast (IPV4Address &ia, tpport_t port) | |
| Create and bind a subnet broadcast socket. | |
Representing a UDP socket used for subnet broadcasts, this class provides an alternate binding and setPeer() capability for UDP sockets.
| ost::UDPBroadcast::UDPBroadcast | ( | IPV4Address & | ia, |
| tpport_t | port | ||
| ) |
Create and bind a subnet broadcast socket.
| ia | address to bind socket under locally. |
| port | to bind socket under locally. |
| void ost::UDPBroadcast::setPeer | ( | IPV4Broadcast & | subnet, |
| tpport_t | port | ||
| ) |
Set peer by subnet rather than specific host.
| subnet | of peer hosts to send to. |
| port | number to use. |
1.7.6.1