aboutsummaryrefslogtreecommitdiff
path: root/docs/doxygen/nel/classNLNET_1_1CInetAddress.html
diff options
context:
space:
mode:
authorneodarz <neodarz@neodarz.net>2018-08-11 20:21:34 +0200
committerneodarz <neodarz@neodarz.net>2018-08-11 20:21:34 +0200
commit0ea5fc66924303d1bf73ba283a383e2aadee02f2 (patch)
tree2568e71a7ccc44ec23b8bb3f0ff97fb6bf2ed709 /docs/doxygen/nel/classNLNET_1_1CInetAddress.html
downloadnevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.tar.xz
nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.zip
Initial commit
Diffstat (limited to 'docs/doxygen/nel/classNLNET_1_1CInetAddress.html')
-rw-r--r--docs/doxygen/nel/classNLNET_1_1CInetAddress.html1246
1 files changed, 1246 insertions, 0 deletions
diff --git a/docs/doxygen/nel/classNLNET_1_1CInetAddress.html b/docs/doxygen/nel/classNLNET_1_1CInetAddress.html
new file mode 100644
index 00000000..afc5e745
--- /dev/null
+++ b/docs/doxygen/nel/classNLNET_1_1CInetAddress.html
@@ -0,0 +1,1246 @@
+<!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.14 -->
+<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_8h-source.html">inet_address.h</a>&gt;</code>
+<p>
+<a href="classNLNET_1_1CInetAddress-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="classNLNET_1_1CInetAddress.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="classNLNET_1_1CInetAddress.html#a1">CInetAddress</a> (const std::string &amp;hostName, <a class="el" href="memory__common_8h.html#a9">uint16</a> port)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Alternate constructor (calls <a class="el" href="classNLNET_1_1CInetAddress.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="classNLNET_1_1CInetAddress.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="classNLNET_1_1CInetAddress.html#a6">setByName</a>()) example: <a class="el" href="classNLNET_1_1CInetAddress.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="classNLNET_1_1CInetAddress.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="classNLNET_1_1CInetAddress.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="classNLNET_1_1CInetAddress.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="classNLNET_1_1CInetAddress.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="classNLNET_1_1CInetAddress.html#a7">setPort</a> (<a class="el" href="memory__common_8h.html#a9">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="classNLNET_1_1CInetAddress.html#a8">setNameAndPort</a> (const std::string &amp;hostNameAndPort)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Sets hostname and port (ex: www.nevrax.com:80).</em> <a href="#a8">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="classNLNET_1_1CInetAddress.html#a9">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="#a9">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="classNLNET_1_1CInetAddress.html#a10">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="#a10">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="classNLNET_1_1CInetAddress.html#a11">sockAddr</a> () const</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Returns internal socket address (read only).</em> <a href="#a11">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="memory__common_8h.html#a11">uint32</a>&nbsp;</td><td valign=bottom><a class="el" href="classNLNET_1_1CInetAddress.html#a12">internalIPAddress</a> () const</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Returns internal IP address.</em> <a href="#a12">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="memory__common_8h.html#a11">uint32</a>&nbsp;</td><td valign=bottom><a class="el" href="classNLNET_1_1CInetAddress.html#a13">internalNetAddress</a> () const</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Returns the internal network address (it s the network address for example 192.168.0.0 for a C class).</em> <a href="#a13">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="classNLNET_1_1CInetAddress.html#a14">ipAddress</a> () const</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Returns readable IP address. (ex: "195.68.21.195").</em> <a href="#a14">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="classNLNET_1_1CInetAddress.html#a15">hostName</a> () const</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Returns hostname. (ex: "www.nevrax.org").</em> <a href="#a15">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="memory__common_8h.html#a9">uint16</a>&nbsp;</td><td valign=bottom><a class="el" href="classNLNET_1_1CInetAddress.html#a16">port</a> () const</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Returns port.</em> <a href="#a16">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="classNLNET_1_1CInetAddress.html#a17">asString</a> () const</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Returns hostname and port as a string. (ex: "www.nevrax.org:80 (195.68.21.195)").</em> <a href="#a17">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="classNLNET_1_1CInetAddress.html#a18">asIPString</a> () const</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Returns IP address and port as a string. (ex: "195.68.21.195:80").</em> <a href="#a18">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="classNLNET_1_1CInetAddress.html#a19">serial</a> (<a class="el" href="classNLMISC_1_1IStream.html">NLMISC::IStream</a> &amp;<a class="el" href="driver__opengl__extension__def_8h.html#a383">s</a>)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Serialize.</em> <a href="#a19">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="classNLNET_1_1CInetAddress.html#a20">is127001</a> () const</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Returns true if this <a class="el" href="classNLNET_1_1CInetAddress.html">CInetAddress</a> is 127.0.0.1.</em> <a href="#a20">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="classNLNET_1_1CInetAddress.html#d0">localHost</a> ()</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Creates a <a class="el" href="classNLNET_1_1CInetAddress.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 nowrap align=right valign=top>std::vector&lt; CInetAddress &gt;&nbsp;</td><td valign=bottom><a class="el" href="classNLNET_1_1CInetAddress.html#d1">localAddresses</a> ()</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Returns the list of the local host addresses (with port=0) (especially useful if the host is multihomed).</em> <a href="#d1">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="classNLNET_1_1CInetAddress.html#p0">RetrieveNames</a> = false</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>If true, <a class="el" href="classNLNET_1_1CInetAddress.html#a9">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>Protected Methods</h2></td></tr>
+<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classNLNET_1_1CInetAddress.html#b0">CInetAddress</a> (const in_addr *ip)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Constructor with ip address, port=0.</em> <a href="#b0">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="classNLNET_1_1CInetAddress.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="classNLNET_1_1CInetAddress.html#o0">_HostName</a></td></tr>
+<tr><td nowrap align=right valign=top>sockaddr_in *&nbsp;</td><td valign=bottom><a class="el" href="classNLNET_1_1CInetAddress.html#o1">_SockAddr</a></td></tr>
+<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classNLNET_1_1CInetAddress.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="classNLNET_1_1CInetAddress.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="classNLNET_1_1CInetAddress.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#_todo000017">Todo: </a></b><dd>
+cado: Test big/little endian transfers to check if byte ordering is ok.</dl> <dl compact><dt><b>
+Author: </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_8h-source.html#l00064">64</a> of file <a class="el" href="inet__address_8h-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 class="md" nowrap valign="top"> NLNET::CInetAddress::CInetAddress </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap></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_8cpp-source.html#l00064">64</a> of file <a class="el" href="inet__address_8cpp-source.html">inet_address.cpp</a>.
+<p>
+References <a class="el" href="inet__address_8h-source.html#l00162">_SockAddr</a>, and <a class="el" href="inet__address_8cpp-source.html#l00180">init</a>.
+<p>
+Referenced by <a class="el" href="inet__address_8cpp-source.html#l00465">localAddresses</a>, and <a class="el" href="inet__address_8cpp-source.html#l00445">localHost</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 class="md" nowrap valign="top"> NLNET::CInetAddress::CInetAddress </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const std::string &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>hostName</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="memory__common_8h.html#a9">uint16</a>&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>port</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"></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="classNLNET_1_1CInetAddress.html#a6">setByName</a>()).
+<p>
+
+<p>
+Definition at line <a class="el" href="inet__address_8cpp-source.html#l00098">98</a> of file <a class="el" href="inet__address_8cpp-source.html">inet_address.cpp</a>.
+<p>
+References <a class="el" href="inet__address_8cpp-source.html#l00367">hostName</a>, <a class="el" href="inet__address_8cpp-source.html#l00180">init</a>, <a class="el" href="inet__address_8cpp-source.html#l00376">port</a>, <a class="el" href="inet__address_8cpp-source.html#l00224">setByName</a>, and <a class="el" href="inet__address_8cpp-source.html#l00262">setPort</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 class="md" nowrap valign="top"> NLNET::CInetAddress::CInetAddress </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const std::string &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>hostNameAndPort</em> </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap></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="classNLNET_1_1CInetAddress.html#a6">setByName</a>()) example: <a class="el" href="classNLNET_1_1CInetAddress.html">CInetAddress</a>("www.nevrax.com:80").
+<p>
+
+<p>
+Definition at line <a class="el" href="inet__address_8cpp-source.html#l00109">109</a> of file <a class="el" href="inet__address_8cpp-source.html">inet_address.cpp</a>.
+<p>
+References <a class="el" href="inet__address_8cpp-source.html#l00180">init</a>, and <a class="el" href="inet__address_8cpp-source.html#l00204">setNameAndPort</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 class="md" nowrap valign="top"> NLNET::CInetAddress::CInetAddress </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const CInetAddress &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>other</em> </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap></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_8cpp-source.html#l00119">119</a> of file <a class="el" href="inet__address_8cpp-source.html">inet_address.cpp</a>.
+<p>
+References <a class="el" href="inet__address_8h-source.html#l00161">_HostName</a>, <a class="el" href="inet__address_8h-source.html#l00162">_SockAddr</a>, <a class="el" href="inet__address_8h-source.html#l00163">_Valid</a>, and <a class="el" href="inet__address_8cpp-source.html#l00180">init</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 class="md" nowrap valign="top"> NLNET::CInetAddress::~CInetAddress </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap></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_8cpp-source.html#l00195">195</a> of file <a class="el" href="inet__address_8cpp-source.html">inet_address.cpp</a>.
+<p>
+References <a class="el" href="inet__address_8h-source.html#l00162">_SockAddr</a>. </td>
+ </tr>
+</table>
+<a name="b0" 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 class="md" nowrap valign="top"> NLNET::CInetAddress::CInetAddress </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const in_addr *&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>ip</em> </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap><code> [protected]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Constructor with ip address, port=0.
+<p>
+
+<p>
+Definition at line <a class="el" href="inet__address_8cpp-source.html#l00075">75</a> of file <a class="el" href="inet__address_8cpp-source.html">inet_address.cpp</a>.
+<p>
+References <a class="el" href="inet__address_8h-source.html#l00161">_HostName</a>, <a class="el" href="inet__address_8h-source.html#l00162">_SockAddr</a>, <a class="el" href="inet__address_8h-source.html#l00163">_Valid</a>, <a class="el" href="inet__address_8cpp-source.html#l00180">init</a>, and <a class="el" href="inet__address_8cpp-source.html#l00355">ipAddress</a>. </td>
+ </tr>
+</table>
+<hr><h2>Member Function Documentation</h2>
+<a name="a18" 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 class="md" nowrap valign="top"> std::string NLNET::CInetAddress::asIPString </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap> const</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. (ex: "195.68.21.195:80").
+<p>
+
+<p>
+Definition at line <a class="el" href="inet__address_8cpp-source.html#l00396">396</a> of file <a class="el" href="inet__address_8cpp-source.html">inet_address.cpp</a>.
+<p>
+References <a class="el" href="inet__address_8cpp-source.html#l00355">ipAddress</a>, and <a class="el" href="inet__address_8cpp-source.html#l00376">port</a>.
+<p>
+Referenced by <a class="el" href="inet__address_8cpp-source.html#l00407">serial</a>. </td>
+ </tr>
+</table>
+<a name="a17" 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 class="md" nowrap valign="top"> std::string NLNET::CInetAddress::asString </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap> const</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. (ex: "www.nevrax.org:80 (195.68.21.195)").
+<p>
+
+<p>
+Definition at line <a class="el" href="inet__address_8cpp-source.html#l00385">385</a> of file <a class="el" href="inet__address_8cpp-source.html">inet_address.cpp</a>.
+<p>
+References <a class="el" href="inet__address_8cpp-source.html#l00367">hostName</a>, <a class="el" href="inet__address_8cpp-source.html#l00355">ipAddress</a>, and <a class="el" href="inet__address_8cpp-source.html#l00376">port</a>.
+<p>
+Referenced by <a class="el" href="unified__network_8cpp-source.html#l00804">NLNET::CUnifiedNetwork::update</a>. </td>
+ </tr>
+</table>
+<a name="a15" 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 class="md" nowrap valign="top"> const string &amp; NLNET::CInetAddress::hostName </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap> const</td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Returns hostname. (ex: "www.nevrax.org").
+<p>
+
+<p>
+Definition at line <a class="el" href="inet__address_8cpp-source.html#l00367">367</a> of file <a class="el" href="inet__address_8cpp-source.html">inet_address.cpp</a>.
+<p>
+References <a class="el" href="inet__address_8h-source.html#l00161">_HostName</a>.
+<p>
+Referenced by <a class="el" href="inet__address_8cpp-source.html#l00385">asString</a>, <a class="el" href="inet__address_8cpp-source.html#l00098">CInetAddress</a>, and <a class="el" href="inet__address_8cpp-source.html#l00224">setByName</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 class="md" nowrap valign="top"> void NLNET::CInetAddress::init </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap><code> [private]</code></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_8cpp-source.html#l00180">180</a> of file <a class="el" href="inet__address_8cpp-source.html">inet_address.cpp</a>.
+<p>
+References <a class="el" href="inet__address_8h-source.html#l00162">_SockAddr</a>, and <a class="el" href="inet__address_8h-source.html#l00163">_Valid</a>.
+<p>
+Referenced by <a class="el" href="inet__address_8cpp-source.html#l00064">CInetAddress</a>. </td>
+ </tr>
+</table>
+<a name="a12" 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 class="md" nowrap valign="top"> <a class="el" href="memory__common_8h.html#a11">uint32</a> NLNET::CInetAddress::internalIPAddress </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap> const</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_8cpp-source.html#l00315">315</a> of file <a class="el" href="inet__address_8cpp-source.html">inet_address.cpp</a>.
+<p>
+References <a class="el" href="inet__address_8h-source.html#l00162">_SockAddr</a>.
+<p>
+Referenced by <a class="el" href="inet__address_8cpp-source.html#l00320">internalNetAddress</a>, and <a class="el" href="inet__address_8cpp-source.html#l00496">is127001</a>. </td>
+ </tr>
+</table>
+<a name="a13" doxytag="NLNET::CInetAddress::internalNetAddress"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="memory__common_8h.html#a11">uint32</a> NLNET::CInetAddress::internalNetAddress </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap> const</td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Returns the internal network address (it s the network address for example 192.168.0.0 for a C class).
+<p>
+
+<p>
+Definition at line <a class="el" href="inet__address_8cpp-source.html#l00320">320</a> of file <a class="el" href="inet__address_8cpp-source.html">inet_address.cpp</a>.
+<p>
+References <a class="el" href="inet__address_8cpp-source.html#l00315">internalIPAddress</a>. </td>
+ </tr>
+</table>
+<a name="a14" 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 class="md" nowrap valign="top"> string NLNET::CInetAddress::ipAddress </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap> const</td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Returns readable IP address. (ex: "195.68.21.195").
+<p>
+
+<p>
+Definition at line <a class="el" href="inet__address_8cpp-source.html#l00355">355</a> of file <a class="el" href="inet__address_8cpp-source.html">inet_address.cpp</a>.
+<p>
+References <a class="el" href="inet__address_8h-source.html#l00162">_SockAddr</a>.
+<p>
+Referenced by <a class="el" href="inet__address_8cpp-source.html#l00396">asIPString</a>, <a class="el" href="inet__address_8cpp-source.html#l00385">asString</a>, <a class="el" href="inet__address_8cpp-source.html#l00075">CInetAddress</a>, and <a class="el" href="inet__address_8cpp-source.html#l00272">setSockAddr</a>. </td>
+ </tr>
+</table>
+<a name="a20" doxytag="NLNET::CInetAddress::is127001"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> bool NLNET::CInetAddress::is127001 </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap> const</td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Returns true if this <a class="el" href="classNLNET_1_1CInetAddress.html">CInetAddress</a> is 127.0.0.1.
+<p>
+
+<p>
+Definition at line <a class="el" href="inet__address_8cpp-source.html#l00496">496</a> of file <a class="el" href="inet__address_8cpp-source.html">inet_address.cpp</a>.
+<p>
+References <a class="el" href="inet__address_8cpp-source.html#l00315">internalIPAddress</a>. </td>
+ </tr>
+</table>
+<a name="a10" 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 class="md" nowrap valign="top"> bool NLNET::CInetAddress::isValid </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap> const</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_8cpp-source.html#l00297">297</a> of file <a class="el" href="inet__address_8cpp-source.html">inet_address.cpp</a>.
+<p>
+References <a class="el" href="inet__address_8h-source.html#l00162">_SockAddr</a>, and <a class="el" href="inet__address_8h-source.html#l00163">_Valid</a>.
+<p>
+Referenced by <a class="el" href="unified__network_8cpp-source.html#l00804">NLNET::CUnifiedNetwork::update</a>. </td>
+ </tr>
+</table>
+<a name="d1" doxytag="NLNET::CInetAddress::localAddresses"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> std::vector&lt; CInetAddress &gt; NLNET::CInetAddress::localAddresses </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap><code> [static]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Returns the list of the local host addresses (with port=0) (especially useful if the host is multihomed).
+<p>
+
+<p>
+Definition at line <a class="el" href="inet__address_8cpp-source.html#l00465">465</a> of file <a class="el" href="inet__address_8cpp-source.html">inet_address.cpp</a>.
+<p>
+References <a class="el" href="inet__address_8cpp-source.html#l00064">CInetAddress</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 class="md" nowrap valign="top"> CInetAddress NLNET::CInetAddress::localHost </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap><code> [static]</code></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="classNLNET_1_1CInetAddress.html">CInetAddress</a> object with local host address, port=0.
+<p>
+
+<p>
+Definition at line <a class="el" href="inet__address_8cpp-source.html#l00445">445</a> of file <a class="el" href="inet__address_8cpp-source.html">inet_address.cpp</a>.
+<p>
+References <a class="el" href="inet__address_8cpp-source.html#l00064">CInetAddress</a>, and <a class="el" href="debug_8h-source.html#l00114">nlwarning</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 class="md" nowrap valign="top"> CInetAddress &amp; NLNET::CInetAddress::operator= </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const CInetAddress &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>other</em> </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap></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_8cpp-source.html#l00131">131</a> of file <a class="el" href="inet__address_8cpp-source.html">inet_address.cpp</a>.
+<p>
+References <a class="el" href="inet__address_8h-source.html#l00161">_HostName</a>, <a class="el" href="inet__address_8h-source.html#l00162">_SockAddr</a>, and <a class="el" href="inet__address_8h-source.html#l00163">_Valid</a>. </td>
+ </tr>
+</table>
+<a name="a16" 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 class="md" nowrap valign="top"> <a class="el" href="memory__common_8h.html#a9">uint16</a> NLNET::CInetAddress::port </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap> const</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_8cpp-source.html#l00376">376</a> of file <a class="el" href="inet__address_8cpp-source.html">inet_address.cpp</a>.
+<p>
+References <a class="el" href="inet__address_8h-source.html#l00162">_SockAddr</a>.
+<p>
+Referenced by <a class="el" href="inet__address_8cpp-source.html#l00396">asIPString</a>, <a class="el" href="inet__address_8cpp-source.html#l00385">asString</a>, <a class="el" href="inet__address_8cpp-source.html#l00098">CInetAddress</a>, and <a class="el" href="inet__address_8cpp-source.html#l00262">setPort</a>. </td>
+ </tr>
+</table>
+<a name="a19" 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 class="md" nowrap valign="top"> void NLNET::CInetAddress::serial </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="classNLMISC_1_1IStream.html">NLMISC::IStream</a> &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>s</em> </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap></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_8cpp-source.html#l00407">407</a> of file <a class="el" href="inet__address_8cpp-source.html">inet_address.cpp</a>.
+<p>
+References <a class="el" href="inet__address_8h-source.html#l00162">_SockAddr</a>, <a class="el" href="inet__address_8h-source.html#l00163">_Valid</a>, <a class="el" href="inet__address_8cpp-source.html#l00396">asIPString</a>, <a class="el" href="stream__inline_8h-source.html#l00062">NLMISC::IStream::isReading</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00673">s</a>, <a class="el" href="stream_8h-source.html#l00222">NLMISC::IStream::serial</a>, <a class="el" href="mem__stream_8h-source.html#l00317">NLMISC::CMemStream::serial</a>, <a class="el" href="classNLMISC_1_1IStream.html#z327_0">NLMISC::IStream::serialBuffer</a>, <a class="el" href="inet__address_8cpp-source.html#l00204">setNameAndPort</a>, <a class="el" href="inet__address_8cpp-source.html#l00272">setSockAddr</a>, and <a class="el" href="mem__stream_8h-source.html#l00099">NLMISC::CMemStream::stringMode</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 class="md" nowrap valign="top"> CInetAddress &amp; NLNET::CInetAddress::setByName </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const std::string &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>hostname</em> </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap></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_8cpp-source.html#l00224">224</a> of file <a class="el" href="inet__address_8cpp-source.html">inet_address.cpp</a>.
+<p>
+References <a class="el" href="inet__address_8h-source.html#l00161">_HostName</a>, <a class="el" href="inet__address_8h-source.html#l00162">_SockAddr</a>, <a class="el" href="inet__address_8h-source.html#l00163">_Valid</a>, <a class="el" href="inet__address_8cpp-source.html#l00367">hostName</a>, and <a class="el" href="debug_8h-source.html#l00087">nldebug</a>.
+<p>
+Referenced by <a class="el" href="inet__address_8cpp-source.html#l00098">CInetAddress</a>, and <a class="el" href="inet__address_8cpp-source.html#l00204">setNameAndPort</a>. </td>
+ </tr>
+</table>
+<a name="a8" doxytag="NLNET::CInetAddress::setNameAndPort"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NLNET::CInetAddress::setNameAndPort </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const std::string &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>hostNameAndPort</em> </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Sets hostname and port (ex: www.nevrax.com:80).
+<p>
+
+<p>
+Definition at line <a class="el" href="inet__address_8cpp-source.html#l00204">204</a> of file <a class="el" href="inet__address_8cpp-source.html">inet_address.cpp</a>.
+<p>
+References <a class="el" href="inet__address_8cpp-source.html#l00224">setByName</a>, and <a class="el" href="inet__address_8cpp-source.html#l00262">setPort</a>.
+<p>
+Referenced by <a class="el" href="inet__address_8cpp-source.html#l00109">CInetAddress</a>, and <a class="el" href="inet__address_8cpp-source.html#l00407">serial</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 class="md" nowrap valign="top"> void NLNET::CInetAddress::setPort </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a9">uint16</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>port</em> </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap></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_8cpp-source.html#l00262">262</a> of file <a class="el" href="inet__address_8cpp-source.html">inet_address.cpp</a>.
+<p>
+References <a class="el" href="inet__address_8h-source.html#l00162">_SockAddr</a>, and <a class="el" href="inet__address_8cpp-source.html#l00376">port</a>.
+<p>
+Referenced by <a class="el" href="inet__address_8cpp-source.html#l00098">CInetAddress</a>, and <a class="el" href="inet__address_8cpp-source.html#l00204">setNameAndPort</a>. </td>
+ </tr>
+</table>
+<a name="a9" 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 class="md" nowrap valign="top"> void NLNET::CInetAddress::setSockAddr </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const sockaddr_in *&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>saddr</em> </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap></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="classNLNET_1_1CInetAddress.html#p0">CInetAddress::RetrieveNames</a> is true.
+<p>
+Definition at line <a class="el" href="inet__address_8cpp-source.html#l00272">272</a> of file <a class="el" href="inet__address_8cpp-source.html">inet_address.cpp</a>.
+<p>
+References <a class="el" href="inet__address_8h-source.html#l00161">_HostName</a>, <a class="el" href="inet__address_8h-source.html#l00162">_SockAddr</a>, <a class="el" href="inet__address_8h-source.html#l00163">_Valid</a>, and <a class="el" href="inet__address_8cpp-source.html#l00355">ipAddress</a>.
+<p>
+Referenced by <a class="el" href="inet__address_8cpp-source.html#l00407">serial</a>. </td>
+ </tr>
+</table>
+<a name="a11" 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 class="md" nowrap valign="top"> const sockaddr_in * NLNET::CInetAddress::sockAddr </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap> const</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_8cpp-source.html#l00306">306</a> of file <a class="el" href="inet__address_8cpp-source.html">inet_address.cpp</a>.
+<p>
+References <a class="el" href="inet__address_8h-source.html#l00162">_SockAddr</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 class="md" nowrap valign="top"> bool operator&lt; </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const CInetAddress &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>a1</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>const CInetAddress &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>a2</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [friend]</code></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_8cpp-source.html#l00153">153</a> of file <a class="el" href="inet__address_8cpp-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 class="md" nowrap valign="top"> bool operator== </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const CInetAddress &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>a1</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>const CInetAddress &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>a2</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [friend]</code></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_8cpp-source.html#l00143">143</a> of file <a class="el" href="inet__address_8cpp-source.html">inet_address.cpp</a>. </td>
+ </tr>
+</table>
+<hr><h2>Member Data Documentation</h2>
+<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 class="md" nowrap valign="top"> std::string NLNET::CInetAddress::_HostName<code> [private]</code>
+ </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_8h-source.html#l00161">161</a> of file <a class="el" href="inet__address_8h-source.html">inet_address.h</a>.
+<p>
+Referenced by <a class="el" href="inet__address_8cpp-source.html#l00075">CInetAddress</a>, <a class="el" href="inet__address_8cpp-source.html#l00367">hostName</a>, <a class="el" href="inet__address_8cpp-source.html#l00131">operator=</a>, <a class="el" href="inet__address_8cpp-source.html#l00224">setByName</a>, and <a class="el" href="inet__address_8cpp-source.html#l00272">setSockAddr</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 class="md" nowrap valign="top"> sockaddr_in* NLNET::CInetAddress::_SockAddr<code> [private]</code>
+ </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_8h-source.html#l00162">162</a> of file <a class="el" href="inet__address_8h-source.html">inet_address.h</a>.
+<p>
+Referenced by <a class="el" href="inet__address_8cpp-source.html#l00064">CInetAddress</a>, <a class="el" href="inet__address_8cpp-source.html#l00180">init</a>, <a class="el" href="inet__address_8cpp-source.html#l00315">internalIPAddress</a>, <a class="el" href="inet__address_8cpp-source.html#l00355">ipAddress</a>, <a class="el" href="inet__address_8cpp-source.html#l00297">isValid</a>, <a class="el" href="inet__address_8cpp-source.html#l00131">operator=</a>, <a class="el" href="inet__address_8cpp-source.html#l00376">port</a>, <a class="el" href="inet__address_8cpp-source.html#l00407">serial</a>, <a class="el" href="inet__address_8cpp-source.html#l00224">setByName</a>, <a class="el" href="inet__address_8cpp-source.html#l00262">setPort</a>, <a class="el" href="inet__address_8cpp-source.html#l00272">setSockAddr</a>, <a class="el" href="inet__address_8cpp-source.html#l00306">sockAddr</a>, and <a class="el" href="inet__address_8cpp-source.html#l00195">~CInetAddress</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 class="md" nowrap valign="top"> bool NLNET::CInetAddress::_Valid<code> [private]</code>
+ </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_8h-source.html#l00163">163</a> of file <a class="el" href="inet__address_8h-source.html">inet_address.h</a>.
+<p>
+Referenced by <a class="el" href="inet__address_8cpp-source.html#l00075">CInetAddress</a>, <a class="el" href="inet__address_8cpp-source.html#l00180">init</a>, <a class="el" href="inet__address_8cpp-source.html#l00297">isValid</a>, <a class="el" href="inet__address_8cpp-source.html#l00131">operator=</a>, <a class="el" href="inet__address_8cpp-source.html#l00407">serial</a>, <a class="el" href="inet__address_8cpp-source.html#l00224">setByName</a>, and <a class="el" href="inet__address_8cpp-source.html#l00272">setSockAddr</a>. </td>
+ </tr>
+</table>
+<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 class="md" nowrap valign="top"> bool NLNET::CInetAddress::RetrieveNames = false<code> [static]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+If true, <a class="el" href="classNLNET_1_1CInetAddress.html#a9">setSockAddr</a>() always tries to retrieve the host name from the address.
+<p>
+
+<p>
+Definition at line <a class="el" href="inet__address_8cpp-source.html#l00058">58</a> of file <a class="el" href="inet__address_8cpp-source.html">inet_address.cpp</a>. </td>
+ </tr>
+</table>
+<hr>The documentation for this class was generated from the following files:<ul>
+<li><a class="el" href="inet__address_8h-source.html">inet_address.h</a><li><a class="el" href="inet__address_8cpp-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>