ost::UDPBroadcast - Representing a UDP socket used for subnet broadcasts, this class provides an
Contents
Constructor & Destructor Documentation
ost::UDPBroadcast::UDPBroadcast(constIPV4Address&ia,tpport_tport)
Create and bind a subnet broadcast socket.
Parametersia address to bind socket under locally.
port to bind socket under locally.
Detailed Description
Representing a UDP socket used for subnet broadcasts, this class provides an alternate binding and
setPeer() capability for UDP sockets.
Author
David Sugar dyfet@ostel.com
Unreliable Datagram for subnet broadcasts.
Member Function Documentation
voidost::UDPBroadcast::setPeer(constIPV4Broadcast&subnet,tpport_tport)
Set peer by subnet rather than specific host.
Parameterssubnet of peer hosts to send to.
port number to use.
Name
ost::UDPBroadcast - Representing a UDP socket used for subnet broadcasts, this class provides an
alternate binding and setPeer() capability for UDP sockets.
Synopsis
#include <socket.h>
Inherits ost::UDPSocket.
PublicMemberFunctionsUDPBroadcast (const IPV4Address &ia, tpport_t port)
Create and bind a subnet broadcast socket.
void setPeer (const IPV4Broadcast &subnet, tpport_t port)
Set peer by subnet rather than specific host.
AdditionalInheritedMembers