BroadcastAddress(3cc)

BroadcastAddress3cc

The broadcast address object is used to store the broadcast address for a specific subnet.

Usage

#include <socket.h>

Inherits InetAddress.

Public Methods

BroadcastAddress (const char *net='255.255.255.255')
Specify the physical broadcast address to use and create a new broadcast address object based on a null terminated ASCII string.

Detailed description

The broadcast address object is used to store the broadcast address for a specific subnet.

This is commonly used for UDP broadcast operations.

Constructor & destructor documentation

BroadcastAddress::BroadcastAddress (const char * net = '255.255.255.255')

Specify the physical broadcast address to use and create a new broadcast address object based on a null terminated ASCII string.

Parameters:

net

null terminated ASCII network address.

Author

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

From libcommoncpp2-dev 1.0.13-5 in Debian 3.1 (Sarge). Parsed by carta from the page's man source.