This commit is contained in:
nbougalis
2020-04-15 21:15:02 +00:00
commit 4ad595bf18
12373 changed files with 1478990 additions and 0 deletions

View File

@@ -0,0 +1,774 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>rippled: beast::IP::Endpoint Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">rippled
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="namespacebeast.html">beast</a></li><li class="navelem"><a class="el" href="namespacebeast_1_1IP.html">IP</a></li><li class="navelem"><a class="el" href="classbeast_1_1IP_1_1Endpoint.html">Endpoint</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a> &#124;
<a href="#friends">Friends</a> &#124;
<a href="classbeast_1_1IP_1_1Endpoint-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">beast::IP::Endpoint Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>A version-independent <a class="el" href="namespacebeast_1_1IP.html">IP</a> address and port combination.
<a href="classbeast_1_1IP_1_1Endpoint.html#details">More...</a></p>
<div class="dynheader">
Collaboration diagram for beast::IP::Endpoint:</div>
<div class="dyncontent">
<div class="center"><img src="classbeast_1_1IP_1_1Endpoint__coll__graph.png" border="0" usemap="#beast_1_1IP_1_1Endpoint_coll__map" alt="Collaboration graph"/></div>
<map name="beast_1_1IP_1_1Endpoint_coll__map" id="beast_1_1IP_1_1Endpoint_coll__map">
<area shape="rect" title="A version&#45;independent IP address and port combination." alt="" coords="5,95,148,121"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/types/integer.html" title=" " alt="" coords="25,5,128,32"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a25e623f726dbda92789f51cce520b3b1"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbeast_1_1IP_1_1Endpoint.html#a25e623f726dbda92789f51cce520b3b1">Endpoint</a> ()</td></tr>
<tr class="memdesc:a25e623f726dbda92789f51cce520b3b1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create an unspecified endpoint. <a href="classbeast_1_1IP_1_1Endpoint.html#a25e623f726dbda92789f51cce520b3b1">More...</a><br /></td></tr>
<tr class="separator:a25e623f726dbda92789f51cce520b3b1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8284f5f2a0ee543a89586fbf697efcad"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbeast_1_1IP_1_1Endpoint.html#a8284f5f2a0ee543a89586fbf697efcad">Endpoint</a> (<a class="el" href="namespacebeast_1_1IP.html#adbe597760cb20a7aa3f2ff92f7bed2cc">Address</a> const &amp;addr, <a class="el" href="namespacebeast_1_1IP.html#aab4029edf27ca25feab58117ce0fd5d9">Port</a> <a class="el" href="classbeast_1_1IP_1_1Endpoint.html#ad4ea0ccfc9a795efb3d68dcd0a788f5e">port</a>=0)</td></tr>
<tr class="memdesc:a8284f5f2a0ee543a89586fbf697efcad"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create an endpoint from the address and optional port. <a href="classbeast_1_1IP_1_1Endpoint.html#a8284f5f2a0ee543a89586fbf697efcad">More...</a><br /></td></tr>
<tr class="separator:a8284f5f2a0ee543a89586fbf697efcad"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adcbd20a3d8d1d3f7c6a3ae541f519fb4"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbeast_1_1IP_1_1Endpoint.html#adcbd20a3d8d1d3f7c6a3ae541f519fb4">to_string</a> () const</td></tr>
<tr class="memdesc:adcbd20a3d8d1d3f7c6a3ae541f519fb4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a string representing the endpoint. <a href="classbeast_1_1IP_1_1Endpoint.html#adcbd20a3d8d1d3f7c6a3ae541f519fb4">More...</a><br /></td></tr>
<tr class="separator:adcbd20a3d8d1d3f7c6a3ae541f519fb4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad4ea0ccfc9a795efb3d68dcd0a788f5e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacebeast_1_1IP.html#aab4029edf27ca25feab58117ce0fd5d9">Port</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbeast_1_1IP_1_1Endpoint.html#ad4ea0ccfc9a795efb3d68dcd0a788f5e">port</a> () const</td></tr>
<tr class="memdesc:ad4ea0ccfc9a795efb3d68dcd0a788f5e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the port number on the endpoint. <a href="classbeast_1_1IP_1_1Endpoint.html#ad4ea0ccfc9a795efb3d68dcd0a788f5e">More...</a><br /></td></tr>
<tr class="separator:ad4ea0ccfc9a795efb3d68dcd0a788f5e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7336271ad6a45e88f485d8fccc7cd4a2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classbeast_1_1IP_1_1Endpoint.html">Endpoint</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbeast_1_1IP_1_1Endpoint.html#a7336271ad6a45e88f485d8fccc7cd4a2">at_port</a> (<a class="el" href="namespacebeast_1_1IP.html#aab4029edf27ca25feab58117ce0fd5d9">Port</a> <a class="el" href="classbeast_1_1IP_1_1Endpoint.html#ad4ea0ccfc9a795efb3d68dcd0a788f5e">port</a>) const</td></tr>
<tr class="memdesc:a7336271ad6a45e88f485d8fccc7cd4a2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a new <a class="el" href="classbeast_1_1IP_1_1Endpoint.html" title="A version-independent IP address and port combination.">Endpoint</a> with a different port. <a href="classbeast_1_1IP_1_1Endpoint.html#a7336271ad6a45e88f485d8fccc7cd4a2">More...</a><br /></td></tr>
<tr class="separator:a7336271ad6a45e88f485d8fccc7cd4a2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a63fa66c4eb0d68359a0ff642891493c5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacebeast_1_1IP.html#adbe597760cb20a7aa3f2ff92f7bed2cc">Address</a> const &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbeast_1_1IP_1_1Endpoint.html#a63fa66c4eb0d68359a0ff642891493c5">address</a> () const</td></tr>
<tr class="memdesc:a63fa66c4eb0d68359a0ff642891493c5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the address portion of this endpoint. <a href="classbeast_1_1IP_1_1Endpoint.html#a63fa66c4eb0d68359a0ff642891493c5">More...</a><br /></td></tr>
<tr class="separator:a63fa66c4eb0d68359a0ff642891493c5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr class="memitem:a8e631140f3066c323d874daba78f1d65"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbeast_1_1IP_1_1Endpoint.html#a8e631140f3066c323d874daba78f1d65">is_v4</a> () const</td></tr>
<tr class="memdesc:a8e631140f3066c323d874daba78f1d65"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convenience accessors for the address part. <a href="classbeast_1_1IP_1_1Endpoint.html#a8e631140f3066c323d874daba78f1d65">More...</a><br /></td></tr>
<tr class="separator:a8e631140f3066c323d874daba78f1d65"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ace069c76f2ba52eb951d2d205f7097b2"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbeast_1_1IP_1_1Endpoint.html#ace069c76f2ba52eb951d2d205f7097b2">is_v6</a> () const</td></tr>
<tr class="separator:ace069c76f2ba52eb951d2d205f7097b2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af5406604f045245a69c5f17b2a39f906"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="namespacebeast_1_1IP.html#ad2074ed8068d52be937bf6895918bcb5">AddressV4</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbeast_1_1IP_1_1Endpoint.html#af5406604f045245a69c5f17b2a39f906">to_v4</a> () const</td></tr>
<tr class="separator:af5406604f045245a69c5f17b2a39f906"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af51384f0b31482015e67f8dc06990a03"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="namespacebeast_1_1IP.html#a622077e61c7f3646c6d0f50df3c66bce">AddressV6</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbeast_1_1IP_1_1Endpoint.html#af51384f0b31482015e67f8dc06990a03">to_v6</a> () const</td></tr>
<tr class="separator:af51384f0b31482015e67f8dc06990a03"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:aac388eeb417add061487b8166490a338"><td class="memItemLeft" align="right" valign="top">static boost::optional&lt; <a class="el" href="classbeast_1_1IP_1_1Endpoint.html">Endpoint</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbeast_1_1IP_1_1Endpoint.html#aac388eeb417add061487b8166490a338">from_string_checked</a> (<a class="elRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> const &amp;s)</td></tr>
<tr class="memdesc:aac388eeb417add061487b8166490a338"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create an <a class="el" href="classbeast_1_1IP_1_1Endpoint.html" title="A version-independent IP address and port combination.">Endpoint</a> from a string. <a href="classbeast_1_1IP_1_1Endpoint.html#aac388eeb417add061487b8166490a338">More...</a><br /></td></tr>
<tr class="separator:aac388eeb417add061487b8166490a338"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab2c227db84255620219ebab8ead53636"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classbeast_1_1IP_1_1Endpoint.html">Endpoint</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbeast_1_1IP_1_1Endpoint.html#ab2c227db84255620219ebab8ead53636">from_string</a> (<a class="elRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> const &amp;s)</td></tr>
<tr class="separator:ab2c227db84255620219ebab8ead53636"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr class="memitem:aff600a488019fc72168fa917b50b6a53"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacebeast_1_1IP.html#adbe597760cb20a7aa3f2ff92f7bed2cc">Address</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbeast_1_1IP_1_1Endpoint.html#aff600a488019fc72168fa917b50b6a53">m_addr</a></td></tr>
<tr class="separator:aff600a488019fc72168fa917b50b6a53"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1d65e78e5e7ae1ee98d93eaad27dd735"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacebeast_1_1IP.html#aab4029edf27ca25feab58117ce0fd5d9">Port</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbeast_1_1IP_1_1Endpoint.html#a1d65e78e5e7ae1ee98d93eaad27dd735">m_port</a></td></tr>
<tr class="separator:a1d65e78e5e7ae1ee98d93eaad27dd735"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a>
Friends</h2></td></tr>
<tr class="memitem:a55fd01a66ca9b701fc0605369c3c0b80"><td class="memTemplParams" colspan="2">template&lt;class Hasher &gt; </td></tr>
<tr class="memitem:a55fd01a66ca9b701fc0605369c3c0b80"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classbeast_1_1IP_1_1Endpoint.html#a55fd01a66ca9b701fc0605369c3c0b80">hash_append</a> (Hasher &amp;h, <a class="el" href="classbeast_1_1IP_1_1Endpoint.html">Endpoint</a> const &amp;endpoint)</td></tr>
<tr class="separator:a55fd01a66ca9b701fc0605369c3c0b80"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr class="memitem:afbaf25c69e0695109073b1325419773a"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbeast_1_1IP_1_1Endpoint.html#afbaf25c69e0695109073b1325419773a">operator==</a> (<a class="el" href="classbeast_1_1IP_1_1Endpoint.html">Endpoint</a> const &amp;lhs, <a class="el" href="classbeast_1_1IP_1_1Endpoint.html">Endpoint</a> const &amp;rhs)</td></tr>
<tr class="memdesc:afbaf25c69e0695109073b1325419773a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Arithmetic comparison. <a href="classbeast_1_1IP_1_1Endpoint.html#afbaf25c69e0695109073b1325419773a">More...</a><br /></td></tr>
<tr class="separator:afbaf25c69e0695109073b1325419773a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a34d8a983b13c6da5a8b55863e93613e6"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbeast_1_1IP_1_1Endpoint.html#a34d8a983b13c6da5a8b55863e93613e6">operator&lt;</a> (<a class="el" href="classbeast_1_1IP_1_1Endpoint.html">Endpoint</a> const &amp;lhs, <a class="el" href="classbeast_1_1IP_1_1Endpoint.html">Endpoint</a> const &amp;rhs)</td></tr>
<tr class="separator:a34d8a983b13c6da5a8b55863e93613e6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a328a790163547186a2a1c8dc427fae57"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbeast_1_1IP_1_1Endpoint.html#a328a790163547186a2a1c8dc427fae57">operator!=</a> (<a class="el" href="classbeast_1_1IP_1_1Endpoint.html">Endpoint</a> const &amp;lhs, <a class="el" href="classbeast_1_1IP_1_1Endpoint.html">Endpoint</a> const &amp;rhs)</td></tr>
<tr class="separator:a328a790163547186a2a1c8dc427fae57"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a10e7f249c11b02eb1a3eca9219849a21"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbeast_1_1IP_1_1Endpoint.html#a10e7f249c11b02eb1a3eca9219849a21">operator&gt;</a> (<a class="el" href="classbeast_1_1IP_1_1Endpoint.html">Endpoint</a> const &amp;lhs, <a class="el" href="classbeast_1_1IP_1_1Endpoint.html">Endpoint</a> const &amp;rhs)</td></tr>
<tr class="separator:a10e7f249c11b02eb1a3eca9219849a21"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9e100cec20f9ca7b362442d1daeea90e"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbeast_1_1IP_1_1Endpoint.html#a9e100cec20f9ca7b362442d1daeea90e">operator&lt;=</a> (<a class="el" href="classbeast_1_1IP_1_1Endpoint.html">Endpoint</a> const &amp;lhs, <a class="el" href="classbeast_1_1IP_1_1Endpoint.html">Endpoint</a> const &amp;rhs)</td></tr>
<tr class="separator:a9e100cec20f9ca7b362442d1daeea90e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af0671a59642f18dc1c1d650ac42dccc0"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbeast_1_1IP_1_1Endpoint.html#af0671a59642f18dc1c1d650ac42dccc0">operator&gt;=</a> (<a class="el" href="classbeast_1_1IP_1_1Endpoint.html">Endpoint</a> const &amp;lhs, <a class="el" href="classbeast_1_1IP_1_1Endpoint.html">Endpoint</a> const &amp;rhs)</td></tr>
<tr class="separator:af0671a59642f18dc1c1d650ac42dccc0"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>A version-independent <a class="el" href="namespacebeast_1_1IP.html">IP</a> address and port combination. </p>
<p class="definition">Definition at line <a class="el" href="IPEndpoint_8h_source.html#l00039">39</a> of file <a class="el" href="IPEndpoint_8h_source.html">IPEndpoint.h</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a25e623f726dbda92789f51cce520b3b1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a25e623f726dbda92789f51cce520b3b1">&#9670;&nbsp;</a></span>Endpoint() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">beast::IP::Endpoint::Endpoint </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Create an unspecified endpoint. </p>
<p class="definition">Definition at line <a class="el" href="IPEndpoint_8cpp_source.html#l00026">26</a> of file <a class="el" href="IPEndpoint_8cpp_source.html">IPEndpoint.cpp</a>.</p>
</div>
</div>
<a id="a8284f5f2a0ee543a89586fbf697efcad"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8284f5f2a0ee543a89586fbf697efcad">&#9670;&nbsp;</a></span>Endpoint() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">beast::IP::Endpoint::Endpoint </td>
<td>(</td>
<td class="paramtype"><a class="el" href="namespacebeast_1_1IP.html#adbe597760cb20a7aa3f2ff92f7bed2cc">Address</a> const &amp;&#160;</td>
<td class="paramname"><em>addr</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="namespacebeast_1_1IP.html#aab4029edf27ca25feab58117ce0fd5d9">Port</a>&#160;</td>
<td class="paramname"><em>port</em> = <code>0</code>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">explicit</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Create an endpoint from the address and optional port. </p>
<p class="definition">Definition at line <a class="el" href="IPEndpoint_8cpp_source.html#l00031">31</a> of file <a class="el" href="IPEndpoint_8cpp_source.html">IPEndpoint.cpp</a>.</p>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="aac388eeb417add061487b8166490a338"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aac388eeb417add061487b8166490a338">&#9670;&nbsp;</a></span>from_string_checked()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">boost::optional&lt; <a class="el" href="classbeast_1_1IP_1_1Endpoint.html">Endpoint</a> &gt; beast::IP::Endpoint::from_string_checked </td>
<td>(</td>
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> const &amp;&#160;</td>
<td class="paramname"><em>s</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Create an <a class="el" href="classbeast_1_1IP_1_1Endpoint.html" title="A version-independent IP address and port combination.">Endpoint</a> from a string. </p>
<p>If the port is omitted, the endpoint will have a zero port. </p><dl class="section return"><dt>Returns</dt><dd>An optional endpoint; will be <code>boost::none</code> on failure </dd></dl>
<p class="definition">Definition at line <a class="el" href="IPEndpoint_8cpp_source.html#l00037">37</a> of file <a class="el" href="IPEndpoint_8cpp_source.html">IPEndpoint.cpp</a>.</p>
</div>
</div>
<a id="ab2c227db84255620219ebab8ead53636"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab2c227db84255620219ebab8ead53636">&#9670;&nbsp;</a></span>from_string()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classbeast_1_1IP_1_1Endpoint.html">Endpoint</a> beast::IP::Endpoint::from_string </td>
<td>(</td>
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> const &amp;&#160;</td>
<td class="paramname"><em>s</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="IPEndpoint_8cpp_source.html#l00047">47</a> of file <a class="el" href="IPEndpoint_8cpp_source.html">IPEndpoint.cpp</a>.</p>
</div>
</div>
<a id="adcbd20a3d8d1d3f7c6a3ae541f519fb4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adcbd20a3d8d1d3f7c6a3ae541f519fb4">&#9670;&nbsp;</a></span>to_string()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> beast::IP::Endpoint::to_string </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns a string representing the endpoint. </p>
<p class="definition">Definition at line <a class="el" href="IPEndpoint_8cpp_source.html#l00054">54</a> of file <a class="el" href="IPEndpoint_8cpp_source.html">IPEndpoint.cpp</a>.</p>
</div>
</div>
<a id="ad4ea0ccfc9a795efb3d68dcd0a788f5e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad4ea0ccfc9a795efb3d68dcd0a788f5e">&#9670;&nbsp;</a></span>port()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="namespacebeast_1_1IP.html#aab4029edf27ca25feab58117ce0fd5d9">Port</a> beast::IP::Endpoint::port </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the port number on the endpoint. </p>
<p class="definition">Definition at line <a class="el" href="IPEndpoint_8h_source.html#l00059">59</a> of file <a class="el" href="IPEndpoint_8h_source.html">IPEndpoint.h</a>.</p>
</div>
</div>
<a id="a7336271ad6a45e88f485d8fccc7cd4a2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7336271ad6a45e88f485d8fccc7cd4a2">&#9670;&nbsp;</a></span>at_port()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classbeast_1_1IP_1_1Endpoint.html">Endpoint</a> beast::IP::Endpoint::at_port </td>
<td>(</td>
<td class="paramtype"><a class="el" href="namespacebeast_1_1IP.html#aab4029edf27ca25feab58117ce0fd5d9">Port</a>&#160;</td>
<td class="paramname"><em>port</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns a new <a class="el" href="classbeast_1_1IP_1_1Endpoint.html" title="A version-independent IP address and port combination.">Endpoint</a> with a different port. </p>
<p class="definition">Definition at line <a class="el" href="IPEndpoint_8h_source.html#l00063">63</a> of file <a class="el" href="IPEndpoint_8h_source.html">IPEndpoint.h</a>.</p>
</div>
</div>
<a id="a63fa66c4eb0d68359a0ff642891493c5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a63fa66c4eb0d68359a0ff642891493c5">&#9670;&nbsp;</a></span>address()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="namespacebeast_1_1IP.html#adbe597760cb20a7aa3f2ff92f7bed2cc">Address</a> const&amp; beast::IP::Endpoint::address </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the address portion of this endpoint. </p>
<p class="definition">Definition at line <a class="el" href="IPEndpoint_8h_source.html#l00067">67</a> of file <a class="el" href="IPEndpoint_8h_source.html">IPEndpoint.h</a>.</p>
</div>
</div>
<a id="a8e631140f3066c323d874daba78f1d65"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8e631140f3066c323d874daba78f1d65">&#9670;&nbsp;</a></span>is_v4()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool beast::IP::Endpoint::is_v4 </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Convenience accessors for the address part. </p>
<p class="definition">Definition at line <a class="el" href="IPEndpoint_8h_source.html#l00072">72</a> of file <a class="el" href="IPEndpoint_8h_source.html">IPEndpoint.h</a>.</p>
</div>
</div>
<a id="ace069c76f2ba52eb951d2d205f7097b2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ace069c76f2ba52eb951d2d205f7097b2">&#9670;&nbsp;</a></span>is_v6()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool beast::IP::Endpoint::is_v6 </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="IPEndpoint_8h_source.html#l00074">74</a> of file <a class="el" href="IPEndpoint_8h_source.html">IPEndpoint.h</a>.</p>
</div>
</div>
<a id="af5406604f045245a69c5f17b2a39f906"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af5406604f045245a69c5f17b2a39f906">&#9670;&nbsp;</a></span>to_v4()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const <a class="el" href="namespacebeast_1_1IP.html#ad2074ed8068d52be937bf6895918bcb5">AddressV4</a> beast::IP::Endpoint::to_v4 </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="IPEndpoint_8h_source.html#l00076">76</a> of file <a class="el" href="IPEndpoint_8h_source.html">IPEndpoint.h</a>.</p>
</div>
</div>
<a id="af51384f0b31482015e67f8dc06990a03"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af51384f0b31482015e67f8dc06990a03">&#9670;&nbsp;</a></span>to_v6()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const <a class="el" href="namespacebeast_1_1IP.html#a622077e61c7f3646c6d0f50df3c66bce">AddressV6</a> beast::IP::Endpoint::to_v6 </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="IPEndpoint_8h_source.html#l00078">78</a> of file <a class="el" href="IPEndpoint_8h_source.html">IPEndpoint.h</a>.</p>
</div>
</div>
<h2 class="groupheader">Friends And Related Function Documentation</h2>
<a id="afbaf25c69e0695109073b1325419773a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afbaf25c69e0695109073b1325419773a">&#9670;&nbsp;</a></span>operator==</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool operator== </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classbeast_1_1IP_1_1Endpoint.html">Endpoint</a> const &amp;&#160;</td>
<td class="paramname"><em>lhs</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classbeast_1_1IP_1_1Endpoint.html">Endpoint</a> const &amp;&#160;</td>
<td class="paramname"><em>rhs</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">friend</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Arithmetic comparison. </p>
<p class="definition">Definition at line <a class="el" href="IPEndpoint_8cpp_source.html#l00074">74</a> of file <a class="el" href="IPEndpoint_8cpp_source.html">IPEndpoint.cpp</a>.</p>
</div>
</div>
<a id="a34d8a983b13c6da5a8b55863e93613e6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a34d8a983b13c6da5a8b55863e93613e6">&#9670;&nbsp;</a></span>operator&lt;</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool operator&lt; </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classbeast_1_1IP_1_1Endpoint.html">Endpoint</a> const &amp;&#160;</td>
<td class="paramname"><em>lhs</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classbeast_1_1IP_1_1Endpoint.html">Endpoint</a> const &amp;&#160;</td>
<td class="paramname"><em>rhs</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">friend</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="IPEndpoint_8cpp_source.html#l00080">80</a> of file <a class="el" href="IPEndpoint_8cpp_source.html">IPEndpoint.cpp</a>.</p>
</div>
</div>
<a id="a328a790163547186a2a1c8dc427fae57"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a328a790163547186a2a1c8dc427fae57">&#9670;&nbsp;</a></span>operator!=</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool operator!= </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classbeast_1_1IP_1_1Endpoint.html">Endpoint</a> const &amp;&#160;</td>
<td class="paramname"><em>lhs</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classbeast_1_1IP_1_1Endpoint.html">Endpoint</a> const &amp;&#160;</td>
<td class="paramname"><em>rhs</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">friend</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="IPEndpoint_8h_source.html#l00087">87</a> of file <a class="el" href="IPEndpoint_8h_source.html">IPEndpoint.h</a>.</p>
</div>
</div>
<a id="a10e7f249c11b02eb1a3eca9219849a21"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a10e7f249c11b02eb1a3eca9219849a21">&#9670;&nbsp;</a></span>operator&gt;</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool operator&gt; </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classbeast_1_1IP_1_1Endpoint.html">Endpoint</a> const &amp;&#160;</td>
<td class="paramname"><em>lhs</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classbeast_1_1IP_1_1Endpoint.html">Endpoint</a> const &amp;&#160;</td>
<td class="paramname"><em>rhs</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">friend</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="IPEndpoint_8h_source.html#l00089">89</a> of file <a class="el" href="IPEndpoint_8h_source.html">IPEndpoint.h</a>.</p>
</div>
</div>
<a id="a9e100cec20f9ca7b362442d1daeea90e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9e100cec20f9ca7b362442d1daeea90e">&#9670;&nbsp;</a></span>operator&lt;=</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool operator&lt;= </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classbeast_1_1IP_1_1Endpoint.html">Endpoint</a> const &amp;&#160;</td>
<td class="paramname"><em>lhs</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classbeast_1_1IP_1_1Endpoint.html">Endpoint</a> const &amp;&#160;</td>
<td class="paramname"><em>rhs</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">friend</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="IPEndpoint_8h_source.html#l00091">91</a> of file <a class="el" href="IPEndpoint_8h_source.html">IPEndpoint.h</a>.</p>
</div>
</div>
<a id="af0671a59642f18dc1c1d650ac42dccc0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af0671a59642f18dc1c1d650ac42dccc0">&#9670;&nbsp;</a></span>operator&gt;=</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool operator&gt;= </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classbeast_1_1IP_1_1Endpoint.html">Endpoint</a> const &amp;&#160;</td>
<td class="paramname"><em>lhs</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classbeast_1_1IP_1_1Endpoint.html">Endpoint</a> const &amp;&#160;</td>
<td class="paramname"><em>rhs</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">friend</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="IPEndpoint_8h_source.html#l00093">93</a> of file <a class="el" href="IPEndpoint_8h_source.html">IPEndpoint.h</a>.</p>
</div>
</div>
<a id="a55fd01a66ca9b701fc0605369c3c0b80"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a55fd01a66ca9b701fc0605369c3c0b80">&#9670;&nbsp;</a></span>hash_append</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Hasher &gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void hash_append </td>
<td>(</td>
<td class="paramtype">Hasher &amp;&#160;</td>
<td class="paramname"><em>h</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classbeast_1_1IP_1_1Endpoint.html">Endpoint</a> const &amp;&#160;</td>
<td class="paramname"><em>endpoint</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">friend</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="IPEndpoint_8h_source.html#l00100">100</a> of file <a class="el" href="IPEndpoint_8h_source.html">IPEndpoint.h</a>.</p>
</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="aff600a488019fc72168fa917b50b6a53"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aff600a488019fc72168fa917b50b6a53">&#9670;&nbsp;</a></span>m_addr</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="namespacebeast_1_1IP.html#adbe597760cb20a7aa3f2ff92f7bed2cc">Address</a> beast::IP::Endpoint::m_addr</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="IPEndpoint_8h_source.html#l00107">107</a> of file <a class="el" href="IPEndpoint_8h_source.html">IPEndpoint.h</a>.</p>
</div>
</div>
<a id="a1d65e78e5e7ae1ee98d93eaad27dd735"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1d65e78e5e7ae1ee98d93eaad27dd735">&#9670;&nbsp;</a></span>m_port</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="namespacebeast_1_1IP.html#aab4029edf27ca25feab58117ce0fd5d9">Port</a> beast::IP::Endpoint::m_port</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="IPEndpoint_8h_source.html#l00108">108</a> of file <a class="el" href="IPEndpoint_8h_source.html">IPEndpoint.h</a>.</p>
</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.17
</small></address>
</body>
</html>