3 <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
4 <title>generic::raw_protocol::endpoint</title>
5 <link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css">
6 <meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
7 <link rel="home" href="../../../boost_asio.html" title="Boost.Asio">
8 <link rel="up" href="../generic__raw_protocol.html" title="generic::raw_protocol">
9 <link rel="prev" href="../generic__raw_protocol.html" title="generic::raw_protocol">
10 <link rel="next" href="family.html" title="generic::raw_protocol::family">
12 <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
13 <table cellpadding="2" width="100%"><tr>
14 <td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../boost.png"></td>
15 <td align="center"><a href="../../../../../index.html">Home</a></td>
16 <td align="center"><a href="../../../../../libs/libraries.htm">Libraries</a></td>
17 <td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
18 <td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
19 <td align="center"><a href="../../../../../more/index.htm">More</a></td>
22 <div class="spirit-nav">
23 <a accesskey="p" href="../generic__raw_protocol.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../generic__raw_protocol.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="family.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
26 <div class="titlepage"><div><div><h4 class="title">
27 <a name="boost_asio.reference.generic__raw_protocol.endpoint"></a><a class="link" href="endpoint.html" title="generic::raw_protocol::endpoint">generic::raw_protocol::endpoint</a>
28 </h4></div></div></div>
30 <a class="indexterm" name="idp142652640"></a>
31 The type of an endpoint.
33 <pre class="programlisting"><span class="keyword">typedef</span> <span class="identifier">basic_endpoint</span><span class="special"><</span> <span class="identifier">raw_protocol</span> <span class="special">></span> <span class="identifier">endpoint</span><span class="special">;</span>
36 <a name="boost_asio.reference.generic__raw_protocol.endpoint.h0"></a>
37 <span class="phrase"><a name="boost_asio.reference.generic__raw_protocol.endpoint.types"></a></span><a class="link" href="endpoint.html#boost_asio.reference.generic__raw_protocol.endpoint.types">Types</a>
39 <div class="informaltable"><table class="table">
60 <a class="link" href="../generic__basic_endpoint/data_type.html" title="generic::basic_endpoint::data_type"><span class="bold"><strong>data_type</strong></span></a>
65 The type of the endpoint structure. This type is dependent on
66 the underlying implementation of the socket layer.
73 <a class="link" href="../generic__basic_endpoint/protocol_type.html" title="generic::basic_endpoint::protocol_type"><span class="bold"><strong>protocol_type</strong></span></a>
78 The protocol type associated with the endpoint.
85 <a name="boost_asio.reference.generic__raw_protocol.endpoint.h1"></a>
86 <span class="phrase"><a name="boost_asio.reference.generic__raw_protocol.endpoint.member_functions"></a></span><a class="link" href="endpoint.html#boost_asio.reference.generic__raw_protocol.endpoint.member_functions">Member
89 <div class="informaltable"><table class="table">
110 <a class="link" href="../generic__basic_endpoint/basic_endpoint.html" title="generic::basic_endpoint::basic_endpoint"><span class="bold"><strong>basic_endpoint</strong></span></a>
118 Construct an endpoint from the specified socket address.
121 Construct an endpoint from the specific endpoint type.
131 <a class="link" href="../generic__basic_endpoint/capacity.html" title="generic::basic_endpoint::capacity"><span class="bold"><strong>capacity</strong></span></a>
136 Get the capacity of the endpoint in the native type.
143 <a class="link" href="../generic__basic_endpoint/data.html" title="generic::basic_endpoint::data"><span class="bold"><strong>data</strong></span></a>
148 Get the underlying endpoint in the native type.
155 <a class="link" href="../generic__basic_endpoint/operator_eq_.html" title="generic::basic_endpoint::operator="><span class="bold"><strong>operator=</strong></span></a>
160 Assign from another endpoint.
167 <a class="link" href="../generic__basic_endpoint/protocol.html" title="generic::basic_endpoint::protocol"><span class="bold"><strong>protocol</strong></span></a>
172 The protocol associated with the endpoint.
179 <a class="link" href="../generic__basic_endpoint/resize.html" title="generic::basic_endpoint::resize"><span class="bold"><strong>resize</strong></span></a>
184 Set the underlying size of the endpoint in the native type.
191 <a class="link" href="../generic__basic_endpoint/size.html" title="generic::basic_endpoint::size"><span class="bold"><strong>size</strong></span></a>
196 Get the underlying size of the endpoint in the native type.
203 <a name="boost_asio.reference.generic__raw_protocol.endpoint.h2"></a>
204 <span class="phrase"><a name="boost_asio.reference.generic__raw_protocol.endpoint.friends"></a></span><a class="link" href="endpoint.html#boost_asio.reference.generic__raw_protocol.endpoint.friends">Friends</a>
206 <div class="informaltable"><table class="table">
227 <a class="link" href="../generic__basic_endpoint/operator_not__eq_.html" title="generic::basic_endpoint::operator!="><span class="bold"><strong>operator!=</strong></span></a>
232 Compare two endpoints for inequality.
239 <a class="link" href="../generic__basic_endpoint/operator_lt_.html" title="generic::basic_endpoint::operator<"><span class="bold"><strong>operator<</strong></span></a>
244 Compare endpoints for ordering.
251 <a class="link" href="../generic__basic_endpoint/operator_lt__eq_.html" title="generic::basic_endpoint::operator<="><span class="bold"><strong>operator<=</strong></span></a>
256 Compare endpoints for ordering.
263 <a class="link" href="../generic__basic_endpoint/operator_eq__eq_.html" title="generic::basic_endpoint::operator=="><span class="bold"><strong>operator==</strong></span></a>
268 Compare two endpoints for equality.
275 <a class="link" href="../generic__basic_endpoint/operator_gt_.html" title="generic::basic_endpoint::operator>"><span class="bold"><strong>operator></strong></span></a>
280 Compare endpoints for ordering.
287 <a class="link" href="../generic__basic_endpoint/operator_gt__eq_.html" title="generic::basic_endpoint::operator>="><span class="bold"><strong>operator>=</strong></span></a>
292 Compare endpoints for ordering.
299 The <a class="link" href="../generic__basic_endpoint.html" title="generic::basic_endpoint"><code class="computeroutput"><span class="identifier">generic</span><span class="special">::</span><span class="identifier">basic_endpoint</span></code></a> class template
300 describes an endpoint that may be associated with any socket type.
303 <a name="boost_asio.reference.generic__raw_protocol.endpoint.h3"></a>
304 <span class="phrase"><a name="boost_asio.reference.generic__raw_protocol.endpoint.remarks"></a></span><a class="link" href="endpoint.html#boost_asio.reference.generic__raw_protocol.endpoint.remarks">Remarks</a>
307 The socket types sockaddr type must be able to fit into a <code class="computeroutput"><span class="identifier">sockaddr_storage</span></code> structure.
310 <a name="boost_asio.reference.generic__raw_protocol.endpoint.h4"></a>
311 <span class="phrase"><a name="boost_asio.reference.generic__raw_protocol.endpoint.thread_safety"></a></span><a class="link" href="endpoint.html#boost_asio.reference.generic__raw_protocol.endpoint.thread_safety">Thread
315 <span class="emphasis"><em>Distinct</em></span> <span class="emphasis"><em>objects:</em></span> Safe.
318 <span class="emphasis"><em>Shared</em></span> <span class="emphasis"><em>objects:</em></span> Unsafe.
321 <a name="boost_asio.reference.generic__raw_protocol.endpoint.h5"></a>
322 <span class="phrase"><a name="boost_asio.reference.generic__raw_protocol.endpoint.requirements"></a></span><a class="link" href="endpoint.html#boost_asio.reference.generic__raw_protocol.endpoint.requirements">Requirements</a>
325 <span class="emphasis"><em>Header: </em></span><code class="literal">boost/asio/generic/raw_protocol.hpp</code>
328 <span class="emphasis"><em>Convenience header: </em></span><code class="literal">boost/asio.hpp</code>
331 <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
332 <td align="left"></td>
333 <td align="right"><div class="copyright-footer">Copyright © 2003-2017 Christopher M. Kohlhoff<p>
334 Distributed under the Boost Software License, Version 1.0. (See accompanying
335 file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
340 <div class="spirit-nav">
341 <a accesskey="p" href="../generic__raw_protocol.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../generic__raw_protocol.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="family.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>