Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages | Examples

ost::IPV6Host Class Reference

This object is used to hold the actual and valid internet address of a specific host machine that will be accessed through a socket. Address of a specific Internet host machine. More...

#include <address.h>

Inheritance diagram for ost::IPV6Host:

ost::IPV6Address List of all members.

Public Member Functions

 IPV6Host (const char *host=NULL)
 Create a new host address for a specific internet host.
 IPV6Host (struct in6_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.
IPV6Hostoperator &= (const IPV6Mask &mask)
 Mask the internet host address object with a network mask address.

Friends

class __EXPORT IPV6Mask
__EXPORT IPV6Host operator & (const IPV6Host &addr, const IPV6Mask &mask)

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. Address of a specific Internet host machine.

Author:
David Sugar <dyfet@ostel.com>


Constructor & Destructor Documentation

ost::IPV6Host::IPV6Host 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 IPV6Host ("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::IPV6Host::IPV6Host struct in6_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.

Parameters:
addr binary address of internet host.


Member Function Documentation

IPV6Host& ost::IPV6Host::operator &= const IPV6Mask mask  ) 
 

Mask the internet host address object with a network mask address.

This is commonly used to coerce an address by subnet.


Friends And Related Function Documentation

friend class __EXPORT IPV6Mask [friend]
 

__EXPORT IPV6Host operator & const IPV6Host addr,
const IPV6Mask mask
[friend]
 


The documentation for this class was generated from the following file:
Generated on Sat May 12 17:58:26 2007 for GNU CommonC++ by  doxygen 1.3.9.1