Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Namespace Members | Compound Members | File Members | Related Pages | Examples

BroadcastAddress Class Reference

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

#include <socket.h>

Inheritance diagram for BroadcastAddress:

InetAddress List of all members.

Public Member Functions

 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.

Examples:

tcpthread.cpp.


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.


The documentation for this class was generated from the following file:
Generated on Thu Sep 25 13:14:32 2003 for GNU CommonC++ by doxygen 1.3.3