Poster of Linux kernelThe best gift for a Linux geek
ost::IPV4Multicast

ost::IPV4Multicast

Section: C Library Functions (3) Updated: 16 Feb 2010
Local index Up
 

NAME

ost::IPV4Multicast -

A specialization of IPV4Address that provides address validation for multicast addresses.

 

SYNOPSIS


#include <address.h>

Inherits ost::IPV4Address.  

Public Member Functions


IPV4Multicast ()
Create an Internet Multicast Address object with an empty (0.0.0.0) address.
IPV4Multicast (const struct in_addr address)
Convert the system internet address data type (struct in_addr) into a Common C++ IPV4Multicast object.
IPV4Multicast (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++ IPV4Multicast object.  

Detailed Description

A specialization of IPV4Address 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.

A multicast network address.

Author:

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

 

Constructor & Destructor Documentation

 

ost::IPV4Multicast::IPV4Multicast ()

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

ost::IPV4Multicast::IPV4Multicast (const struct in_addr address)

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

address struct of system used binary internet address.

 

ost::IPV4Multicast::IPV4Multicast (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++ IPV4Multicast object. Works like IPV4Address(const char*).

Parameters:

address null terminated C string.

 

Author

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


 

Index

NAME
SYNOPSIS
Public Member Functions
Detailed Description
Constructor & Destructor Documentation
ost::IPV4Multicast::IPV4Multicast ()
ost::IPV4Multicast::IPV4Multicast (const struct in_addr address)
ost::IPV4Multicast::IPV4Multicast (const char * address)
Author

This document was created by man2html, using the manual pages.
Time: 21:51:50 GMT, April 16, 2011