DOKK / manpages / debian 11 / libcommoncpp2-doc / ost_UDPBroadcast.3.en
ost::UDPBroadcast(3) Library Functions Manual ost::UDPBroadcast(3)

ost::UDPBroadcast - Representing a UDP socket used for subnet broadcasts, this class provides an alternate binding and setPeer() capability for UDP sockets.

#include <socket.h>

Inherits ost::UDPSocket.


UDPBroadcast (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.

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.

Create and bind a subnet broadcast socket.

Parameters

ia address to bind socket under locally.
port to bind socket under locally.

Set peer by subnet rather than specific host.

Parameters

subnet of peer hosts to send to.
port number to use.

Generated automatically by Doxygen for GNU CommonC++ from the source code.

Sun Dec 27 2020 GNU CommonC++