299 lines
9.5 KiB
HTML
299 lines
9.5 KiB
HTML
|
<html>
|
||
|
<head>
|
||
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||
|
<title>ip::tcp</title>
|
||
|
<link rel="stylesheet" href="../../boostbook.css" type="text/css">
|
||
|
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
|
||
|
<link rel="home" href="../../index.html" title="Asio">
|
||
|
<link rel="up" href="../reference.html" title="Reference">
|
||
|
<link rel="prev" href="ip__scope_id_type.html" title="ip::scope_id_type">
|
||
|
<link rel="next" href="ip__tcp/acceptor.html" title="ip::tcp::acceptor">
|
||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||
|
</head>
|
||
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||
|
<table cellpadding="2" width="100%"><tr><td valign="top"><img alt="asio C++ library" width="250" height="60" src="../../asio.png"></td></tr></table>
|
||
|
<hr>
|
||
|
<div class="spirit-nav">
|
||
|
<a accesskey="p" href="ip__scope_id_type.html"><img src="../../prev.png" alt="Prev"></a><a accesskey="u" href="../reference.html"><img src="../../up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../home.png" alt="Home"></a><a accesskey="n" href="ip__tcp/acceptor.html"><img src="../../next.png" alt="Next"></a>
|
||
|
</div>
|
||
|
<div class="section">
|
||
|
<div class="titlepage"><div><div><h3 class="title">
|
||
|
<a name="asio.reference.ip__tcp"></a><a class="link" href="ip__tcp.html" title="ip::tcp">ip::tcp</a>
|
||
|
</h3></div></div></div>
|
||
|
<p>
|
||
|
<a class="indexterm" name="asio.indexterm.ip__tcp"></a>
|
||
|
</p>
|
||
|
<p>
|
||
|
Encapsulates the flags needed for TCP.
|
||
|
</p>
|
||
|
<pre class="programlisting"><span class="keyword">class</span> <span class="identifier">tcp</span>
|
||
|
</pre>
|
||
|
<h5>
|
||
|
<a name="asio.reference.ip__tcp.h0"></a>
|
||
|
<span><a name="asio.reference.ip__tcp.types"></a></span><a class="link" href="ip__tcp.html#asio.reference.ip__tcp.types">Types</a>
|
||
|
</h5>
|
||
|
<div class="informaltable"><table class="table">
|
||
|
<colgroup>
|
||
|
<col>
|
||
|
<col>
|
||
|
</colgroup>
|
||
|
<thead><tr>
|
||
|
<th>
|
||
|
<p>
|
||
|
Name
|
||
|
</p>
|
||
|
</th>
|
||
|
<th>
|
||
|
<p>
|
||
|
Description
|
||
|
</p>
|
||
|
</th>
|
||
|
</tr></thead>
|
||
|
<tbody>
|
||
|
<tr>
|
||
|
<td>
|
||
|
<p>
|
||
|
<a class="link" href="ip__tcp/acceptor.html" title="ip::tcp::acceptor"><span class="bold"><strong>acceptor</strong></span></a>
|
||
|
</p>
|
||
|
</td>
|
||
|
<td>
|
||
|
<p>
|
||
|
The TCP acceptor type.
|
||
|
</p>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td>
|
||
|
<p>
|
||
|
<a class="link" href="ip__tcp/endpoint.html" title="ip::tcp::endpoint"><span class="bold"><strong>endpoint</strong></span></a>
|
||
|
</p>
|
||
|
</td>
|
||
|
<td>
|
||
|
<p>
|
||
|
The type of a TCP endpoint.
|
||
|
</p>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td>
|
||
|
<p>
|
||
|
<a class="link" href="ip__tcp/iostream.html" title="ip::tcp::iostream"><span class="bold"><strong>iostream</strong></span></a>
|
||
|
</p>
|
||
|
</td>
|
||
|
<td>
|
||
|
<p>
|
||
|
The TCP iostream type.
|
||
|
</p>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td>
|
||
|
<p>
|
||
|
<a class="link" href="ip__tcp/no_delay.html" title="ip::tcp::no_delay"><span class="bold"><strong>no_delay</strong></span></a>
|
||
|
</p>
|
||
|
</td>
|
||
|
<td>
|
||
|
<p>
|
||
|
Socket option for disabling the Nagle algorithm.
|
||
|
</p>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td>
|
||
|
<p>
|
||
|
<a class="link" href="ip__tcp/resolver.html" title="ip::tcp::resolver"><span class="bold"><strong>resolver</strong></span></a>
|
||
|
</p>
|
||
|
</td>
|
||
|
<td>
|
||
|
<p>
|
||
|
The TCP resolver type.
|
||
|
</p>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td>
|
||
|
<p>
|
||
|
<a class="link" href="ip__tcp/socket.html" title="ip::tcp::socket"><span class="bold"><strong>socket</strong></span></a>
|
||
|
</p>
|
||
|
</td>
|
||
|
<td>
|
||
|
<p>
|
||
|
The TCP socket type.
|
||
|
</p>
|
||
|
</td>
|
||
|
</tr>
|
||
|
</tbody>
|
||
|
</table></div>
|
||
|
<h5>
|
||
|
<a name="asio.reference.ip__tcp.h1"></a>
|
||
|
<span><a name="asio.reference.ip__tcp.member_functions"></a></span><a class="link" href="ip__tcp.html#asio.reference.ip__tcp.member_functions">Member
|
||
|
Functions</a>
|
||
|
</h5>
|
||
|
<div class="informaltable"><table class="table">
|
||
|
<colgroup>
|
||
|
<col>
|
||
|
<col>
|
||
|
</colgroup>
|
||
|
<thead><tr>
|
||
|
<th>
|
||
|
<p>
|
||
|
Name
|
||
|
</p>
|
||
|
</th>
|
||
|
<th>
|
||
|
<p>
|
||
|
Description
|
||
|
</p>
|
||
|
</th>
|
||
|
</tr></thead>
|
||
|
<tbody>
|
||
|
<tr>
|
||
|
<td>
|
||
|
<p>
|
||
|
<a class="link" href="ip__tcp/family.html" title="ip::tcp::family"><span class="bold"><strong>family</strong></span></a>
|
||
|
</p>
|
||
|
</td>
|
||
|
<td>
|
||
|
<p>
|
||
|
Obtain an identifier for the protocol family.
|
||
|
</p>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td>
|
||
|
<p>
|
||
|
<a class="link" href="ip__tcp/protocol.html" title="ip::tcp::protocol"><span class="bold"><strong>protocol</strong></span></a>
|
||
|
</p>
|
||
|
</td>
|
||
|
<td>
|
||
|
<p>
|
||
|
Obtain an identifier for the protocol.
|
||
|
</p>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td>
|
||
|
<p>
|
||
|
<a class="link" href="ip__tcp/type.html" title="ip::tcp::type"><span class="bold"><strong>type</strong></span></a>
|
||
|
</p>
|
||
|
</td>
|
||
|
<td>
|
||
|
<p>
|
||
|
Obtain an identifier for the type of the protocol.
|
||
|
</p>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td>
|
||
|
<p>
|
||
|
<a class="link" href="ip__tcp/v4.html" title="ip::tcp::v4"><span class="bold"><strong>v4</strong></span></a>
|
||
|
<span class="silver">[static]</span>
|
||
|
</p>
|
||
|
</td>
|
||
|
<td>
|
||
|
<p>
|
||
|
Construct to represent the IPv4 TCP protocol.
|
||
|
</p>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td>
|
||
|
<p>
|
||
|
<a class="link" href="ip__tcp/v6.html" title="ip::tcp::v6"><span class="bold"><strong>v6</strong></span></a>
|
||
|
<span class="silver">[static]</span>
|
||
|
</p>
|
||
|
</td>
|
||
|
<td>
|
||
|
<p>
|
||
|
Construct to represent the IPv6 TCP protocol.
|
||
|
</p>
|
||
|
</td>
|
||
|
</tr>
|
||
|
</tbody>
|
||
|
</table></div>
|
||
|
<h5>
|
||
|
<a name="asio.reference.ip__tcp.h2"></a>
|
||
|
<span><a name="asio.reference.ip__tcp.friends"></a></span><a class="link" href="ip__tcp.html#asio.reference.ip__tcp.friends">Friends</a>
|
||
|
</h5>
|
||
|
<div class="informaltable"><table class="table">
|
||
|
<colgroup>
|
||
|
<col>
|
||
|
<col>
|
||
|
</colgroup>
|
||
|
<thead><tr>
|
||
|
<th>
|
||
|
<p>
|
||
|
Name
|
||
|
</p>
|
||
|
</th>
|
||
|
<th>
|
||
|
<p>
|
||
|
Description
|
||
|
</p>
|
||
|
</th>
|
||
|
</tr></thead>
|
||
|
<tbody>
|
||
|
<tr>
|
||
|
<td>
|
||
|
<p>
|
||
|
<a class="link" href="ip__tcp/operator_not__eq_.html" title="ip::tcp::operator!="><span class="bold"><strong>operator!=</strong></span></a>
|
||
|
</p>
|
||
|
</td>
|
||
|
<td>
|
||
|
<p>
|
||
|
Compare two protocols for inequality.
|
||
|
</p>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td>
|
||
|
<p>
|
||
|
<a class="link" href="ip__tcp/operator_eq__eq_.html" title="ip::tcp::operator=="><span class="bold"><strong>operator==</strong></span></a>
|
||
|
</p>
|
||
|
</td>
|
||
|
<td>
|
||
|
<p>
|
||
|
Compare two protocols for equality.
|
||
|
</p>
|
||
|
</td>
|
||
|
</tr>
|
||
|
</tbody>
|
||
|
</table></div>
|
||
|
<p>
|
||
|
The <a class="link" href="ip__tcp.html" title="ip::tcp"><code class="computeroutput"><span class="identifier">ip</span><span class="special">::</span><span class="identifier">tcp</span></code></a>
|
||
|
class contains flags necessary for TCP sockets.
|
||
|
</p>
|
||
|
<h5>
|
||
|
<a name="asio.reference.ip__tcp.h3"></a>
|
||
|
<span><a name="asio.reference.ip__tcp.thread_safety"></a></span><a class="link" href="ip__tcp.html#asio.reference.ip__tcp.thread_safety">Thread
|
||
|
Safety</a>
|
||
|
</h5>
|
||
|
<p>
|
||
|
<span class="emphasis"><em>Distinct</em></span> <span class="emphasis"><em>objects:</em></span> Safe.
|
||
|
</p>
|
||
|
<p>
|
||
|
<span class="emphasis"><em>Shared</em></span> <span class="emphasis"><em>objects:</em></span> Safe.
|
||
|
</p>
|
||
|
<h5>
|
||
|
<a name="asio.reference.ip__tcp.h4"></a>
|
||
|
<span><a name="asio.reference.ip__tcp.requirements"></a></span><a class="link" href="ip__tcp.html#asio.reference.ip__tcp.requirements">Requirements</a>
|
||
|
</h5>
|
||
|
<p>
|
||
|
<span class="emphasis"><em>Header: </em></span><code class="literal">asio/ip/tcp.hpp</code>
|
||
|
</p>
|
||
|
<p>
|
||
|
<span class="emphasis"><em>Convenience header: </em></span><code class="literal">asio.hpp</code>
|
||
|
</p>
|
||
|
</div>
|
||
|
<div class="copyright-footer">Copyright © 2003-2023 Christopher M. Kohlhoff<p>
|
||
|
Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||
|
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>)
|
||
|
</p>
|
||
|
</div>
|
||
|
<hr>
|
||
|
<div class="spirit-nav">
|
||
|
<a accesskey="p" href="ip__scope_id_type.html"><img src="../../prev.png" alt="Prev"></a><a accesskey="u" href="../reference.html"><img src="../../up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../home.png" alt="Home"></a><a accesskey="n" href="ip__tcp/acceptor.html"><img src="../../next.png" alt="Next"></a>
|
||
|
</div>
|
||
|
</body>
|
||
|
</html>
|