Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class 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 Fri Feb 27 11:37:10 2004 for GNU CommonC++ by doxygen 1.3.5