<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>GNU CommonC++: ost::IPV6Host Class Reference</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="tabs.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.4.6 --> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li id="current"><a href="classes.html"><span>Classes</span></a></li> <li><a href="files.html"><span>Files</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="examples.html"><span>Examples</span></a></li> </ul></div> <div class="tabs"> <ul> <li><a href="classes.html"><span>Alphabetical List</span></a></li> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul></div> <div class="nav"> <a class="el" href="namespaceost.html">ost</a>::<a class="el" href="classost_1_1_i_p_v6_host.html">IPV6Host</a></div> <h1>ost::IPV6Host Class Reference</h1><!-- doxytag: class="ost::IPV6Host" --><!-- doxytag: inherits="ost::IPV6Address" -->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. <a href="#_details">More...</a> <p> <code>#include <<a class="el" href="address_8h-source.html">address.h</a>></code> <p> <p>Inheritance diagram for ost::IPV6Host: <p><center><img src="classost_1_1_i_p_v6_host.png" usemap="#ost::IPV6Host_map" border="0" alt=""></center> <map name="ost::IPV6Host_map"> <area href="classost_1_1_i_p_v6_address.html" alt="ost::IPV6Address" shape="rect" coords="0,0,108,24"> </map> <a href="classost_1_1_i_p_v6_host-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classost_1_1_i_p_v6_host.html#4f8340d0128b6075701b416459399d62">IPV6Host</a> (const char *host=NULL)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Create a new host address for a specific internet host. <a href="#4f8340d0128b6075701b416459399d62"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classost_1_1_i_p_v6_host.html#62b15a41116637b5a0e86a1acfc8b01a">IPV6Host</a> (struct in6_addr addr)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Convert a system socket binary address such as may be returned through the accept() call or getsockpeer() into an internet host address object. <a href="#62b15a41116637b5a0e86a1acfc8b01a"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classost_1_1_i_p_v6_host.html">IPV6Host</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classost_1_1_i_p_v6_host.html#dba71fec8214dab641a370e6d7648082">operator &=</a> (const <a class="el" href="classost_1_1_i_p_v6_mask.html">IPV6Mask</a> &mask)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Mask the internet host address object with a network mask address. <a href="#dba71fec8214dab641a370e6d7648082"></a><br></td></tr> <tr><td colspan="2"><br><h2>Friends</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">class __EXPORT </td><td class="memItemRight" valign="bottom"><a class="el" href="classost_1_1_i_p_v6_host.html#49496345b8abbec276f6c25a0fbdffe5">IPV6Mask</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">__EXPORT <a class="el" href="classost_1_1_i_p_v6_host.html">IPV6Host</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classost_1_1_i_p_v6_host.html#a549218f4f7a926f01f9f62cacbbffb6">operator &</a> (const <a class="el" href="classost_1_1_i_p_v6_host.html">IPV6Host</a> &addr, const <a class="el" href="classost_1_1_i_p_v6_mask.html">IPV6Mask</a> &mask)</td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> 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. <p> <dl compact><dt><b>Author:</b></dt><dd>David Sugar <<a href="mailto:dyfet@ostel.com">dyfet@ostel.com</a>> </dd></dl> <p> <hr><h2>Constructor & Destructor Documentation</h2> <a class="anchor" name="4f8340d0128b6075701b416459399d62"></a><!-- doxytag: member="ost::IPV6Host::IPV6Host" ref="4f8340d0128b6075701b416459399d62" args="(const char *host=NULL)" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">ost::IPV6Host::IPV6Host </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const char * </td> <td class="mdname1" valign="top" nowrap> <em>host</em> = <code>NULL</code> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Create a new host address for a specific internet host. <p> 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 <a class="el" href="classost_1_1_i_p_v6_host.html">IPV6Host</a> ("www.voxilla.org") can be directly declaired in this manner.<p> Defaults to the IP address that represents the interface matching "gethostname()".<p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>host</em> </td><td>dns or physical address of an Internet host. </td></tr> </table> </dl> </td> </tr> </table> <a class="anchor" name="62b15a41116637b5a0e86a1acfc8b01a"></a><!-- doxytag: member="ost::IPV6Host::IPV6Host" ref="62b15a41116637b5a0e86a1acfc8b01a" args="(struct in6_addr addr)" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">ost::IPV6Host::IPV6Host </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">struct in6_addr </td> <td class="mdname1" valign="top" nowrap> <em>addr</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Convert a system socket binary address such as may be returned through the accept() call or getsockpeer() into an internet host address object. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>addr</em> </td><td>binary address of internet host. </td></tr> </table> </dl> </td> </tr> </table> <hr><h2>Member Function Documentation</h2> <a class="anchor" name="dba71fec8214dab641a370e6d7648082"></a><!-- doxytag: member="ost::IPV6Host::operator &=" ref="dba71fec8214dab641a370e6d7648082" args="(const IPV6Mask &mask)" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"><a class="el" href="classost_1_1_i_p_v6_host.html">IPV6Host</a>& ost::IPV6Host::operator &= </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="classost_1_1_i_p_v6_mask.html">IPV6Mask</a> & </td> <td class="mdname1" valign="top" nowrap> <em>mask</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Mask the internet host address object with a network mask address. <p> This is commonly used to coerce an address by subnet. </td> </tr> </table> <hr><h2>Friends And Related Function Documentation</h2> <a class="anchor" name="49496345b8abbec276f6c25a0fbdffe5"></a><!-- doxytag: member="ost::IPV6Host::IPV6Mask" ref="49496345b8abbec276f6c25a0fbdffe5" args="" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">friend class __EXPORT <a class="el" href="classost_1_1_i_p_v6_mask.html">IPV6Mask</a><code> [friend]</code> </td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> </td> </tr> </table> <a class="anchor" name="a549218f4f7a926f01f9f62cacbbffb6"></a><!-- doxytag: member="ost::IPV6Host::operator &" ref="a549218f4f7a926f01f9f62cacbbffb6" args="(const IPV6Host &addr, const IPV6Mask &mask)" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">__EXPORT <a class="el" href="classost_1_1_i_p_v6_host.html">IPV6Host</a> operator & </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="classost_1_1_i_p_v6_host.html">IPV6Host</a> & </td> <td class="mdname" nowrap> <em>addr</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>const <a class="el" href="classost_1_1_i_p_v6_mask.html">IPV6Mask</a> & </td> <td class="mdname" nowrap> <em>mask</em></td> </tr> <tr> <td class="md"></td> <td class="md">) </td> <td class="md" colspan="2"><code> [friend]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> </td> </tr> </table> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="address_8h-source.html">address.h</a></ul> <hr size="1"><address style="align: right;"><small>Generated on Mon Jun 19 10:50:55 2006 for GNU CommonC++ by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.6 </small></address> </body> </html>