Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

ost_ipv4host(3) [debian man page]

ost::IPV4Host(3)					     Library Functions Manual						  ost::IPV4Host(3)

NAME
ost::IPV4Host - This object is used to hold the actual and valid internet address of a specific host machine that will be accessed through a socket. SYNOPSIS
#include <address.h> Inherits ost::IPV4Address. Public Member Functions IPV4Host (const char *host=NULL) Create a new host address for a specific internet host. IPV4Host (struct in_addr addr) Convert a system socket binary address such as may be returned through the accept() call or getsockpeer() into an internet host address object. IPV4Address & operator= (unsigned long addr) Allows assignment from the return of functions like inet_addr() or htonl() IPV4Host & operator&= (const IPV4Mask &mask) Mask the internet host address object with a network mask address. Friends class __EXPORT IPV4Mask __EXPORT IPV4Host operator& (const IPV4Host &addr, const IPV4Mask &mask) Additional Inherited Members Detailed Description This object is used to hold the actual and valid internet address of a specific host machine that will be accessed through a socket. Author: David Sugar dyfet@ostel.com Address of a specific Internet host machine. Constructor &; Destructor Documentation ost::IPV4Host::IPV4Host (const char *host = NULL) Create a new host address for a specific internet host. The internet host can be specified in a null terminated ASCII string and include either the physical host address or the DNS name of a host machine. Hence, an IPV4Host ('www.voxilla.org') can be directly declaired in this manner. Defaults to the IP address that represents the interface matching 'gethostname()'. Parameters: host dns or physical address of an Internet host. ost::IPV4Host::IPV4Host (struct in_addraddr) Convert a system socket binary address such as may be returned through the accept() call or getsockpeer() into an internet host address object. Parameters: addr binary address of internet host. Member Function Documentation IPV4Host& ost::IPV4Host::operator&= (const IPV4Mask &mask) Mask the internet host address object with a network mask address. This is commonly used to coerce an address by subnet. IPV4Address& ost::IPV4Host::operator= (unsigned longaddr) [inline] Allows assignment from the return of functions like inet_addr() or htonl() Reimplemented from ost::IPV4Address. References ost::IPV4Address::operator=(). Friends And Related Function Documentation friend class __EXPORT IPV4Mask [friend] __EXPORT IPV4Host operator& (const IPV4Host &addr, const IPV4Mask &mask) [friend] Author Generated automatically by Doxygen for GNU CommonC++ from the source code. GNU CommonC++ Sat Jun 23 2012 ost::IPV4Host(3)

Check Out this Related Man Page

ost::IPV4Multicast(3)					     Library Functions Manual					     ost::IPV4Multicast(3)

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. Additional Inherited Members 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_addraddress) 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. GNU CommonC++ Sat Jun 23 2012 ost::IPV4Multicast(3)
Man Page