class InetMcastAddress

A multicast network address. More...

Full nameost::InetMcastAddress
Definition#include <socket.h>
Inheritsost::InetAddress [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods


Detailed Description

A specialization of InetAddress that provides address validation for multicast addresses. 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.

 InetMcastAddress ()

InetMcastAddress

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

 InetMcastAddress (const struct in_addr address)

InetMcastAddress

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

Parameters:
addressstruct of system used binary internet address.

 InetMcastAddress (const char *address)

InetMcastAddress

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:
addressnull terminated C string.