aboutsummaryrefslogtreecommitdiff
path: root/docs/doxygen/nel/class_NLNET__CInetAddress.html
diff options
context:
space:
mode:
Diffstat (limited to 'docs/doxygen/nel/class_NLNET__CInetAddress.html')
-rw-r--r--docs/doxygen/nel/class_NLNET__CInetAddress.html1010
1 files changed, 1010 insertions, 0 deletions
diff --git a/docs/doxygen/nel/class_NLNET__CInetAddress.html b/docs/doxygen/nel/class_NLNET__CInetAddress.html
new file mode 100644
index 00000000..784e2322
--- /dev/null
+++ b/docs/doxygen/nel/class_NLNET__CInetAddress.html
@@ -0,0 +1,1010 @@
+<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
+<HTML>
+<HEAD>
+ <TITLE>nevrax.org : docs</TITLE>
+ <LINK REL=stylesheet TYPE="text/css" HREF="http://www.nevrax.org/inc/css/nevrax.css">
+ <link href="doxygen.css" rel="stylesheet" type="text/css">
+</HEAD>
+<BODY MARGINHEIGHT="0" MARGINWIDTH="0">
+
+<!-- uplinks -->
+<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0>
+ <TR>
+ <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD>
+ <TD WIDTH=140 BGCOLOR=#dddddd><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="16" BORDER=0 ALT=""></TD>
+ <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD>
+ <TD><IMG width=6 height=14 SRC="http://www.nevrax.org/inc/img/reddots.gif" ALT="#" VSPACE=2 HSPACE=2 BORDER=0 ></TD><TD VALIGN=middle>&nbsp;<A CLASS=uplinks HREF=http://www.nevrax.org><b>Home</B></FONT></A>&nbsp;&nbsp;&nbsp;</TD>
+ <TD><IMG width=6 height=14 SRC="http://www.nevrax.org/inc/img/reddots.gif" ALT="#" VSPACE=2 HSPACE=2 BORDER=0 ></TD><TD VALIGN=middle>&nbsp;<A CLASS=uplinks HREF=http://www.nevrax.com><b>nevrax.com</B></FONT></A>&nbsp;&nbsp;&nbsp;</TD>
+ </TR>
+</TABLE>
+
+<!-- banner Nevrax -->
+<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0 WIDTH=100%>
+ <TR><TD BGCOLOR="#000000" BACKGROUND="http://www.nevrax.org/inc/img/black_banner.jpg"><A HREF="http://www.nevrax.org"><IMG SRC="http://www.nevrax.org/inc/img/nevrax.gif" WIDTH="170" HEIGHT="45" BORDER=0 ALT="Nevrax" ></A></TD></TR>
+</TABLE>
+
+<!-- main table -->
+<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0 height=100%>
+ <TR>
+ <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="10" BORDER=0 ALT=""></TD>
+ <TD WIDTH=140 BGCOLOR=#dddddd VALIGN=TOP ALIGN=middle><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="10" BORDER=0 ALT="">
+
+ <!------ Begin Box ------>
+ <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 BGCOLOR=black><TR><TD><TABLE border=0 cellspacing=2 cellpadding=0 width=120><tr><TD ALIGN=middle bgcolor=black>
+ <FONT COLOR=white FACE="sans-serif"><B>Nevrax.org</B></FONT></TD></TR><tr><td colspan=2 bgcolor=#FFFFFF>
+ <TABLE cellspacing=0 cellpadding=1 border=0>
+ <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/news/" TITLE="Rubrique news"><img width=13 height=15 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-news.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/news/" TITLE="News">News</a></td></tr>
+ <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/mail/" TITLE="Rubrique mail"><img width=15 height=11 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-mail.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/mail/" TITLE="Mailing list archive">Mailing-list</a></td></tr>
+ <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/docs/" TITLE="Rubrique docs"><img width=14 height=16 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-docs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/docs/" TITLE="Documentation">Documentation</a></td></tr>
+ <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/cvs/" TITLE="Rubrique cvs"><img width=13 height=17 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-cvs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/cvs/" TITLE="CVS Web">CVS</a></td></tr>
+ <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/bugs/" TITLE="Rubrique bugs"><img width=20 height=16 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-bugs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/bugs/" TITLE="Bugtracking">Bugs</a></td></tr>
+ <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/GPL.php3" TITLE="Rubrique license"><img width=18 height=12 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-gpl.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/GPL.php3" TITLE="License">License</a></td></tr>
+ </TABLE>
+ </TD></TR></TABLE></TD></TR></TABLE>
+ <!------ End Box ------>
+
+ </TD>
+ <TD WIDTH=15><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD>
+ <TD ALIGN=left valign=top><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="10" BORDER=0 ALT="">
+
+<!-- title -->
+<TABLE background="http://www.nevrax.org/inc/img/redline.gif" CELLSPACING=0 CELLPADDING=0 BORDER=0 width=100%><tr><td>
+<A HREF="http://www.nevrax.org/docs/"><img src="http://www.nevrax.org/inc/img/t_docs.gif" ALT="Docs" HEIGHT=20 BORDER=0></A>
+</td><td><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="1" HEIGHT="1" BORDER=0 ALT="">
+</td></tr></table>
+&nbsp;
+
+<!-- block -->
+<TABLE bgcolor="#dddddd" CELLSPACING=0 CELLPADDING=0 BORDER=0 width=100%><tr><td width=1% valign=middle><img width=6 height=14 hspace=2 vspace=2 src="http://www.nevrax.org/inc/img/reddots.gif"></TD>
+ <TD><B>Documentation</B></TD>
+ <TD ALIGN=RIGHT>&nbsp;</td>
+</tr></table>
+<!-- Generated by Doxygen 1.2.2 on Fri May 25 22:30:58 2001 -->
+<center>
+<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="classes.html">Alphabetical List</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; <a class="qindex" href="pages.html">Related Pages</a> &nbsp; <a class="qindexRef" doxygen="_cgi:http://www.nevrax.org/cgi-bin/nel-search.cgi" href="http://www.nevrax.org/cgi-bin/nel-search.cgi">Search</a> &nbsp; </center>
+<hr><h1>NLNET::CInetAddress Class Reference</h1>Internet address (IP + port).
+<a href="#_details">More...</a>
+<p>
+<code>#include &lt;<a class="el" href="inet_address_h-source.html">inet_address.h</a>&gt;</code>
+<p>
+<a href="class_NLNET__CInetAddress-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
+<tr><td colspan=2><br><h2>Public Methods</h2></td></tr>
+<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="class_NLNET__CInetAddress.html#a0">CInetAddress</a> ()</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Default Constructor. The address is set to INADDR_ANY.</em> <a href="#a0">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="class_NLNET__CInetAddress.html#a1">CInetAddress</a> ( const std::string&amp; hostName, <a class="el" href="types_nl_h.html#a7">uint16</a> port )</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Alternate constructor (calls <a class="el" href="class_NLNET__CInetAddress.html#a6">setByName</a>()).</em> <a href="#a1">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="class_NLNET__CInetAddress.html#a2">CInetAddress</a> ( const std::string&amp; hostNameAndPort )</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Alternate constructor (calls <a class="el" href="class_NLNET__CInetAddress.html#a6">setByName</a>()) example: <a class="el" href="class_NLNET__CInetAddress.html">CInetAddress</a>("www.nevrax.com:80").</em> <a href="#a2">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="class_NLNET__CInetAddress.html#a3">CInetAddress</a> ( const CInetAddress&amp; other )</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Copy constructor.</em> <a href="#a3">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>CInetAddress&amp;&nbsp;</td><td valign=bottom><a class="el" href="class_NLNET__CInetAddress.html#a4">operator=</a> ( const CInetAddress&amp; other )</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Assignment operator.</em> <a href="#a4">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="class_NLNET__CInetAddress.html#a5">~CInetAddress</a> ()</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Destructor.</em> <a href="#a5">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>CInetAddress&amp;&nbsp;</td><td valign=bottom><a class="el" href="class_NLNET__CInetAddress.html#a6">setByName</a> ( const std::string&amp; hostname )</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Resolves a name.</em> <a href="#a6">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="class_NLNET__CInetAddress.html#a7">setPort</a> ( <a class="el" href="types_nl_h.html#a7">uint16</a> port )</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Sets port.</em> <a href="#a7">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="class_NLNET__CInetAddress.html#a8">setSockAddr</a> ( const sockaddr_in* saddr )</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Sets internal socket address directly (contents is copied).</em> <a href="#a8">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="class_NLNET__CInetAddress.html#a9">isValid</a> () const</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Returns if object (address and port) is valid.</em> <a href="#a9">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>const sockaddr_in*&nbsp;</td><td valign=bottom><a class="el" href="class_NLNET__CInetAddress.html#a10">sockAddr</a> () const</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Returns internal socket address (read only).</em> <a href="#a10">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="types_nl_h.html#a9">uint32</a>&nbsp;</td><td valign=bottom><a class="el" href="class_NLNET__CInetAddress.html#a11">internalIPAddress</a> () const</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Returns internal IP address.</em> <a href="#a11">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>std::string&nbsp;</td><td valign=bottom><a class="el" href="class_NLNET__CInetAddress.html#a12">ipAddress</a> () const</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Returns readable IP address.</em> <a href="#a12">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>const std::string&amp;&nbsp;</td><td valign=bottom><a class="el" href="class_NLNET__CInetAddress.html#a13">hostName</a> () const</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Returns hostname.</em> <a href="#a13">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="types_nl_h.html#a7">uint16</a>&nbsp;</td><td valign=bottom><a class="el" href="class_NLNET__CInetAddress.html#a14">port</a> () const</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Returns port.</em> <a href="#a14">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>std::string&nbsp;</td><td valign=bottom><a class="el" href="class_NLNET__CInetAddress.html#a15">asString</a> () const</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Returns hostname and port as a string.</em> <a href="#a15">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>std::string&nbsp;</td><td valign=bottom><a class="el" href="class_NLNET__CInetAddress.html#a16">asIPString</a> () const</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Returns IP address and port as a string.</em> <a href="#a16">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="class_NLNET__CInetAddress.html#a17">serial</a> ( <a class="el" href="class_NLMISC__IStream.html">NLMISC::IStream</a>&amp; s )</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Serialize.</em> <a href="#a17">More...</a><em></em></font><br><br></td></tr>
+<tr><td colspan=2><br><h2>Static Public Methods</h2></td></tr>
+<tr><td nowrap align=right valign=top>CInetAddress&nbsp;</td><td valign=bottom><a class="el" href="class_NLNET__CInetAddress.html#d0">localHost</a> ()</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Creates a <a class="el" href="class_NLNET__CInetAddress.html">CInetAddress</a> object with local host address, port=0.</em> <a href="#d0">More...</a><em></em></font><br><br></td></tr>
+<tr><td colspan=2><br><h2>Static Public Attributes</h2></td></tr>
+<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="class_NLNET__CInetAddress.html#p0">RetrieveNames</a> = true</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>If true, <a class="el" href="class_NLNET__CInetAddress.html#a8">setSockAddr</a>() always tries to retrieve the host name from the address.</em> <a href="#p0">More...</a><em></em></font><br><br></td></tr>
+<tr><td colspan=2><br><h2>Private Methods</h2></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="class_NLNET__CInetAddress.html#c0">init</a> ()</td></tr>
+<tr><td colspan=2><br><h2>Private Attributes</h2></td></tr>
+<tr><td nowrap align=right valign=top>std::string&nbsp;</td><td valign=bottom><a class="el" href="class_NLNET__CInetAddress.html#o0">_HostName</a></td></tr>
+<tr><td nowrap align=right valign=top>sockaddr_in*&nbsp;</td><td valign=bottom><a class="el" href="class_NLNET__CInetAddress.html#o1">_SockAddr</a></td></tr>
+<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="class_NLNET__CInetAddress.html#o2">_Valid</a></td></tr>
+<tr><td colspan=2><br><h2>Friends</h2></td></tr>
+<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="class_NLNET__CInetAddress.html#l0">operator==</a> ( const CInetAddress&amp; a1, const CInetAddress&amp; a2 )</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Comparison == operator.</em> <a href="#l0">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="class_NLNET__CInetAddress.html#l1">operator&lt;</a> ( const CInetAddress&amp; a1, const CInetAddress&amp; a2 )</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Comparison &lt; operator.</em> <a href="#l1">More...</a><em></em></font><br><br></td></tr>
+</table>
+<hr><a name="_details"></a><h2>Detailed Description</h2>
+Internet address (IP + port).
+<p>
+The structure sockaddr_in is internally in network byte order <dl compact><dt>
+<b><a class="el" href="todo.html#_todo000011">Todo: </a></b><dd>
+cado Test big/little endian transfers to check if byte ordering is ok.</dl> <dl compact><dt>
+<b>Author(s): </b><dd>
+ Olivier Cado , Nevrax France </dl><dl compact><dt>
+<b>Date: </b><dd>
+ 2000 </dl>
+<p>
+
+<p>
+Definition at line <a class="el" href="inet_address_h-source.html#l00060">60</a> of file <a class="el" href="inet_address_h-source.html">inet_address.h</a>.<hr><h2>Constructor &amp; Destructor Documentation</h2>
+<a name="a0" doxytag="NLNET::CInetAddress::CInetAddress"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td nowrap valign="top"><b>
+NLNET::CInetAddress::CInetAddress (
+ </b></td>
+ <td valign="bottom"><b>
+)
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Default Constructor. The address is set to INADDR_ANY.
+<p>
+
+<p>
+Definition at line <a class="el" href="inet_address_cpp-source.html#l00062">62</a> of file <a class="el" href="inet_address_cpp-source.html">inet_address.cpp</a>. </td>
+ </tr>
+</table>
+<a name="a1" doxytag="NLNET::CInetAddress::CInetAddress"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td nowrap valign="top"><b>
+NLNET::CInetAddress::CInetAddress (
+ </b></td>
+ <td valign="bottom"><b>
+const std::string &amp; <em>hostName</em>,
+ </b></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td><b>
+<a class="el" href="types_nl_h.html#a7">uint16</a> <em>port</em>&nbsp;)
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Alternate constructor (calls <a class="el" href="class_NLNET__CInetAddress.html#a6">setByName</a>()).
+<p>
+
+<p>
+Definition at line <a class="el" href="inet_address_cpp-source.html#l00075">75</a> of file <a class="el" href="inet_address_cpp-source.html">inet_address.cpp</a>. </td>
+ </tr>
+</table>
+<a name="a2" doxytag="NLNET::CInetAddress::CInetAddress"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td nowrap valign="top"><b>
+NLNET::CInetAddress::CInetAddress (
+ </b></td>
+ <td valign="bottom"><b>
+const std::string &amp; <em>hostNameAndPort</em>&nbsp;)
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Alternate constructor (calls <a class="el" href="class_NLNET__CInetAddress.html#a6">setByName</a>()) example: <a class="el" href="class_NLNET__CInetAddress.html">CInetAddress</a>("www.nevrax.com:80").
+<p>
+
+<p>
+Definition at line <a class="el" href="inet_address_cpp-source.html#l00087">87</a> of file <a class="el" href="inet_address_cpp-source.html">inet_address.cpp</a>. </td>
+ </tr>
+</table>
+<a name="a3" doxytag="NLNET::CInetAddress::CInetAddress"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td nowrap valign="top"><b>
+NLNET::CInetAddress::CInetAddress (
+ </b></td>
+ <td valign="bottom"><b>
+const CInetAddress &amp; <em>other</em>&nbsp;)
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Copy constructor.
+<p>
+
+<p>
+Definition at line <a class="el" href="inet_address_cpp-source.html#l00111">111</a> of file <a class="el" href="inet_address_cpp-source.html">inet_address.cpp</a>. </td>
+ </tr>
+</table>
+<a name="a5" doxytag="NLNET::CInetAddress::~CInetAddress"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td nowrap valign="top"><b>
+NLNET::CInetAddress::~CInetAddress (
+ </b></td>
+ <td valign="bottom"><b>
+)
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Destructor.
+<p>
+
+<p>
+Definition at line <a class="el" href="inet_address_cpp-source.html#l00186">186</a> of file <a class="el" href="inet_address_cpp-source.html">inet_address.cpp</a>. </td>
+ </tr>
+</table>
+<hr><h2>Member Function Documentation</h2>
+<a name="a16" doxytag="NLNET::CInetAddress::asIPString"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td nowrap valign="top"><b>
+std::string NLNET::CInetAddress::asIPString (
+ </b></td>
+ <td valign="bottom"><b>
+) const
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Returns IP address and port as a string.
+<p>
+
+<p>
+Definition at line <a class="el" href="inet_address_cpp-source.html#l00337">337</a> of file <a class="el" href="inet_address_cpp-source.html">inet_address.cpp</a>. </td>
+ </tr>
+</table>
+<a name="a15" doxytag="NLNET::CInetAddress::asString"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td nowrap valign="top"><b>
+std::string NLNET::CInetAddress::asString (
+ </b></td>
+ <td valign="bottom"><b>
+) const
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Returns hostname and port as a string.
+<p>
+
+<p>
+Definition at line <a class="el" href="inet_address_cpp-source.html#l00326">326</a> of file <a class="el" href="inet_address_cpp-source.html">inet_address.cpp</a>. </td>
+ </tr>
+</table>
+<a name="a13" doxytag="NLNET::CInetAddress::hostName"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td nowrap valign="top"><b>
+const string &amp; NLNET::CInetAddress::hostName (
+ </b></td>
+ <td valign="bottom"><b>
+) const
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Returns hostname.
+<p>
+
+<p>
+Definition at line <a class="el" href="inet_address_cpp-source.html#l00308">308</a> of file <a class="el" href="inet_address_cpp-source.html">inet_address.cpp</a>. </td>
+ </tr>
+</table>
+<a name="c0" doxytag="NLNET::CInetAddress::init"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td nowrap valign="top"><b>
+void NLNET::CInetAddress::init (
+ </b></td>
+ <td valign="bottom"><b>
+void&nbsp;)<code> [private]</code>
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="inet_address_cpp-source.html#l00173">173</a> of file <a class="el" href="inet_address_cpp-source.html">inet_address.cpp</a>. </td>
+ </tr>
+</table>
+<a name="a11" doxytag="NLNET::CInetAddress::internalIPAddress"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td nowrap valign="top"><b>
+<a class="el" href="types_nl_h.html#a9">uint32</a> NLNET::CInetAddress::internalIPAddress (
+ </b></td>
+ <td valign="bottom"><b>
+) const
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Returns internal IP address.
+<p>
+
+<p>
+Definition at line <a class="el" href="inet_address_cpp-source.html#l00287">287</a> of file <a class="el" href="inet_address_cpp-source.html">inet_address.cpp</a>. </td>
+ </tr>
+</table>
+<a name="a12" doxytag="NLNET::CInetAddress::ipAddress"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td nowrap valign="top"><b>
+string NLNET::CInetAddress::ipAddress (
+ </b></td>
+ <td valign="bottom"><b>
+) const
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Returns readable IP address.
+<p>
+
+<p>
+Definition at line <a class="el" href="inet_address_cpp-source.html#l00296">296</a> of file <a class="el" href="inet_address_cpp-source.html">inet_address.cpp</a>. </td>
+ </tr>
+</table>
+<a name="a9" doxytag="NLNET::CInetAddress::isValid"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td nowrap valign="top"><b>
+bool NLNET::CInetAddress::isValid (
+ </b></td>
+ <td valign="bottom"><b>
+) const
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Returns if object (address and port) is valid.
+<p>
+
+<p>
+Definition at line <a class="el" href="inet_address_cpp-source.html#l00269">269</a> of file <a class="el" href="inet_address_cpp-source.html">inet_address.cpp</a>. </td>
+ </tr>
+</table>
+<a name="d0" doxytag="NLNET::CInetAddress::localHost"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td nowrap valign="top"><b>
+CInetAddress NLNET::CInetAddress::localHost (
+ </b></td>
+ <td valign="bottom"><b>
+)<code> [static]</code>
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Creates a <a class="el" href="class_NLNET__CInetAddress.html">CInetAddress</a> object with local host address, port=0.
+<p>
+
+<p>
+Definition at line <a class="el" href="inet_address_cpp-source.html#l00359">359</a> of file <a class="el" href="inet_address_cpp-source.html">inet_address.cpp</a>. </td>
+ </tr>
+</table>
+<a name="a4" doxytag="NLNET::CInetAddress::operator="></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td nowrap valign="top"><b>
+CInetAddress &amp; NLNET::CInetAddress::operator= (
+ </b></td>
+ <td valign="bottom"><b>
+const CInetAddress &amp; <em>other</em>&nbsp;)
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Assignment operator.
+<p>
+
+<p>
+Definition at line <a class="el" href="inet_address_cpp-source.html#l00124">124</a> of file <a class="el" href="inet_address_cpp-source.html">inet_address.cpp</a>. </td>
+ </tr>
+</table>
+<a name="a14" doxytag="NLNET::CInetAddress::port"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td nowrap valign="top"><b>
+<a class="el" href="types_nl_h.html#a7">uint16</a> NLNET::CInetAddress::port (
+ </b></td>
+ <td valign="bottom"><b>
+) const
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Returns port.
+<p>
+
+<p>
+Definition at line <a class="el" href="inet_address_cpp-source.html#l00317">317</a> of file <a class="el" href="inet_address_cpp-source.html">inet_address.cpp</a>. </td>
+ </tr>
+</table>
+<a name="a17" doxytag="NLNET::CInetAddress::serial"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td nowrap valign="top"><b>
+void NLNET::CInetAddress::serial (
+ </b></td>
+ <td valign="bottom"><b>
+<a class="el" href="class_NLMISC__IStream.html">NLMISC::IStream</a> &amp; <em>s</em>&nbsp;)
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Serialize.
+<p>
+
+<p>
+Definition at line <a class="el" href="inet_address_cpp-source.html#l00348">348</a> of file <a class="el" href="inet_address_cpp-source.html">inet_address.cpp</a>. </td>
+ </tr>
+</table>
+<a name="a6" doxytag="NLNET::CInetAddress::setByName"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td nowrap valign="top"><b>
+CInetAddress &amp; NLNET::CInetAddress::setByName (
+ </b></td>
+ <td valign="bottom"><b>
+const std::string &amp; <em>hostName</em>&nbsp;)
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Resolves a name.
+<p>
+
+<p>
+Definition at line <a class="el" href="inet_address_cpp-source.html#l00196">196</a> of file <a class="el" href="inet_address_cpp-source.html">inet_address.cpp</a>. </td>
+ </tr>
+</table>
+<a name="a7" doxytag="NLNET::CInetAddress::setPort"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td nowrap valign="top"><b>
+void NLNET::CInetAddress::setPort (
+ </b></td>
+ <td valign="bottom"><b>
+<a class="el" href="types_nl_h.html#a7">uint16</a> <em>port</em>&nbsp;)
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Sets port.
+<p>
+
+<p>
+Definition at line <a class="el" href="inet_address_cpp-source.html#l00234">234</a> of file <a class="el" href="inet_address_cpp-source.html">inet_address.cpp</a>. </td>
+ </tr>
+</table>
+<a name="a8" doxytag="NLNET::CInetAddress::setSockAddr"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td nowrap valign="top"><b>
+void NLNET::CInetAddress::setSockAddr (
+ </b></td>
+ <td valign="bottom"><b>
+const sockaddr_in * <em>saddr</em>&nbsp;)
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Sets internal socket address directly (contents is copied).
+<p>
+It also retrieves the host name if <a class="el" href="class_NLNET__CInetAddress.html#p0">CInetAddress::RetrieveNames</a> is true.
+<p>
+Definition at line <a class="el" href="inet_address_cpp-source.html#l00244">244</a> of file <a class="el" href="inet_address_cpp-source.html">inet_address.cpp</a>. </td>
+ </tr>
+</table>
+<a name="a10" doxytag="NLNET::CInetAddress::sockAddr"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td nowrap valign="top"><b>
+const sockaddr_in * NLNET::CInetAddress::sockAddr (
+ </b></td>
+ <td valign="bottom"><b>
+) const
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Returns internal socket address (read only).
+<p>
+
+<p>
+Definition at line <a class="el" href="inet_address_cpp-source.html#l00278">278</a> of file <a class="el" href="inet_address_cpp-source.html">inet_address.cpp</a>. </td>
+ </tr>
+</table>
+<hr><h2>Friends And Related Function Documentation</h2>
+<a name="l1" doxytag="NLNET::CInetAddress::operator<"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td nowrap valign="top"><b>
+bool operator&lt; (
+ </b></td>
+ <td valign="bottom"><b>
+const CInetAddress &amp; <em>a1</em>,
+ </b></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td><b>
+const CInetAddress &amp; <em>a2</em>&nbsp;)<code> [friend]</code>
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Comparison &lt; operator.
+<p>
+
+<p>
+Definition at line <a class="el" href="inet_address_cpp-source.html#l00146">146</a> of file <a class="el" href="inet_address_cpp-source.html">inet_address.cpp</a>. </td>
+ </tr>
+</table>
+<a name="l0" doxytag="NLNET::CInetAddress::operator=="></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td nowrap valign="top"><b>
+bool operator== (
+ </b></td>
+ <td valign="bottom"><b>
+const CInetAddress &amp; <em>a1</em>,
+ </b></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td><b>
+const CInetAddress &amp; <em>a2</em>&nbsp;)<code> [friend]</code>
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Comparison == operator.
+<p>
+
+<p>
+Definition at line <a class="el" href="inet_address_cpp-source.html#l00136">136</a> of file <a class="el" href="inet_address_cpp-source.html">inet_address.cpp</a>. </td>
+ </tr>
+</table>
+<hr><h2>Member Data Documentation</h2>
+<a name="p0" doxytag="NLNET::CInetAddress::RetrieveNames"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td nowrap valign="top"><b>
+bool NLNET::CInetAddress::RetrieveNames = true<code> [static]</code>
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+If true, <a class="el" href="class_NLNET__CInetAddress.html#a8">setSockAddr</a>() always tries to retrieve the host name from the address.
+<p>
+
+<p>
+Definition at line <a class="el" href="inet_address_cpp-source.html#l00056">56</a> of file <a class="el" href="inet_address_cpp-source.html">inet_address.cpp</a>. </td>
+ </tr>
+</table>
+<a name="o0" doxytag="NLNET::CInetAddress::_HostName"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td nowrap valign="top"><b>
+std::string NLNET::CInetAddress::_HostName<code> [private]</code>
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="inet_address_h-source.html#l00137">137</a> of file <a class="el" href="inet_address_h-source.html">inet_address.h</a>. </td>
+ </tr>
+</table>
+<a name="o1" doxytag="NLNET::CInetAddress::_SockAddr"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td nowrap valign="top"><b>
+sockaddr_in * NLNET::CInetAddress::_SockAddr<code> [private]</code>
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="inet_address_h-source.html#l00138">138</a> of file <a class="el" href="inet_address_h-source.html">inet_address.h</a>. </td>
+ </tr>
+</table>
+<a name="o2" doxytag="NLNET::CInetAddress::_Valid"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td nowrap valign="top"><b>
+bool NLNET::CInetAddress::_Valid<code> [private]</code>
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="inet_address_h-source.html#l00139">139</a> of file <a class="el" href="inet_address_h-source.html">inet_address.h</a>. </td>
+ </tr>
+</table>
+<hr>The documentation for this class was generated from the following files:<ul>
+<li><a class="el" href="inet_address_h-source.html">inet_address.h</a><li><a class="el" href="inet_address_cpp-source.html">inet_address.cpp</a></ul>
+
+
+<!-- footer -->
+<BR><FONT Size=+5>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </FONT>
+</TD>
+<TD WIDTH=15><IMG SRC=http://www.nevrax.org/inc/img/pixel.gif WIDTH=15 HEIGHT=15 BORDER=0 ALT=""></TD>
+</TR>
+</TABLE>
+</BODY>
+</HTML>