Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

InetMcastAddress Class Reference

A specialization of InetAddress that provides address validation for multicast addresses. A multicast network address. More...

#include <socket.h>

Inheritance diagram for InetMcastAddress::

InetAddress List of all members.

Public Methods

 InetMcastAddress ()
 Create an Internet Multicast Address object with an empty (0.0.0.0) address. More...

 InetMcastAddress (const struct in_addr address)
 Convert the system internet address data type (struct in_addr) into a Common C++ InetMcastAddress object. More...

 InetMcastAddress (const char *address)
 Convert a null terminated ASCII multicast address string (example: "224.0.0.1") or multicast name string (example: "sap.mcast.net") directly into a Common C++ InetMcastAddress object. More...


Detailed Description

A specialization of InetAddress that provides address validation for multicast addresses. A multicast network address.

Whenever its value changes the new value is checked to be in the range from 224.0.0.1 through 239.255.255.255. If it is not, an exception is thrown.

Author:
Federico Montesino <p5087@quintero.fie.us.es>


Constructor & Destructor Documentation

InetMcastAddress::InetMcastAddress  
 

Create an Internet Multicast Address object with an empty (0.0.0.0) address.

InetMcastAddress::InetMcastAddress const struct in_addr   address
 

Convert the system internet address data type (struct in_addr) into a Common C++ InetMcastAddress object.

Parameters:
address   struct of system used binary internet address.

InetMcastAddress::InetMcastAddress const char *   address
 

Convert a null terminated ASCII multicast address string (example: "224.0.0.1") or multicast name string (example: "sap.mcast.net") directly into a Common C++ InetMcastAddress object.

Works like InetAddress(const char*).

Parameters:
address   null terminated C string.


The documentation for this class was generated from the following file:
Generated at Tue Nov 20 12:34:34 2001 for CommonC++ by doxygen1.2.10 written by Dimitri van Heesch, © 1997-2001