Poster of Linux kernelThe best gift for a Linux geek
ost::UDPBroadcast

ost::UDPBroadcast

Section: C Library Functions (3) Updated: 16 Feb 2010
Local index Up
 

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.  

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.  

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.

 

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.

 

Author

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


 

Index

NAME
SYNOPSIS
Public Member Functions
Detailed Description
Constructor & Destructor Documentation
ost::UDPBroadcast::UDPBroadcast (const IPV4Address & ia, tpport_t port)
Member Function Documentation
void ost::UDPBroadcast::setPeer (const IPV4Broadcast & subnet, tpport_t port)
Author

This document was created by man2html, using the manual pages.
Time: 21:51:52 GMT, April 16, 2011