ost_UDPBroadcast(3)

ost_UDPBroadcast3

Representing a udp socket used for subnet broadcasts, this class provides an alternate binding and setpeer() capability for udp sockets.

Usage

#include <socket.h>

Inherits ost::UDPSocket.

Public Member Functions

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.

Additional Inherited Members

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 [email protected]

Unreliable Datagram for subnet broadcasts.

Constructor & Destructor Documentation

ost::UDPBroadcast::UDPBroadcast (const IPV4Address & ia, tpport_t port)

Create and bind a subnet broadcast socket.

Parameters

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

Member Function Documentation

void ost::UDPBroadcast::setPeer (const IPV4Broadcast & subnet, tpport_t port)

Set peer by subnet rather than specific host.

Parameters

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

Releases

8 releases since Debian 4.0 (Etch); the text changed 7 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7
  5. 8
  6. 9
  7. 10
  8. 11

Author

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

From libcommoncpp2-doc 1.8.1-10 in Debian 11 (Bullseye). Parsed by carta from the page's man source.