Adds asio library and Storage Module
This commit is contained in:
1 parent
79a6ee5779
commit
30439acd43
4869 files changed
+618801
-903
No files matched your search
@@ -0,0 +1,75 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>basic_socket_iostream::basic_socket_iostream</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="../basic_socket_iostream.html" title="basic_socket_iostream">
|
||||
<link rel="prev" href="../basic_socket_iostream.html" title="basic_socket_iostream">
|
||||
<link rel="next" href="basic_socket_iostream/overload1.html" title="basic_socket_iostream::basic_socket_iostream (1 of 4 overloads)">
|
||||
</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="../basic_socket_iostream.html"><img src="../../../prev.png" alt="Prev"></a><a accesskey="u" href="../basic_socket_iostream.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="basic_socket_iostream/overload1.html"><img src="../../../next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="section">
|
||||
<div class="titlepage"><div><div><h4 class="title">
|
||||
<a name="asio.reference.basic_socket_iostream.basic_socket_iostream"></a><a class="link" href="basic_socket_iostream.html" title="basic_socket_iostream::basic_socket_iostream">basic_socket_iostream::basic_socket_iostream</a>
|
||||
</h4></div></div></div>
|
||||
<p>
|
||||
<a class="indexterm" name="asio.indexterm.basic_socket_iostream.basic_socket_iostream"></a>
|
||||
Construct
|
||||
a <a class="link" href="../basic_socket_iostream.html" title="basic_socket_iostream"><code class="computeroutput">basic_socket_iostream</code></a>
|
||||
without establishing a connection.
|
||||
</p>
|
||||
<pre class="programlisting"><a class="link" href="basic_socket_iostream/overload1.html" title="basic_socket_iostream::basic_socket_iostream (1 of 4 overloads)">basic_socket_iostream</a>();
|
||||
<span class="emphasis"><em>» <a class="link" href="basic_socket_iostream/overload1.html" title="basic_socket_iostream::basic_socket_iostream (1 of 4 overloads)">more...</a></em></span>
|
||||
</pre>
|
||||
<p>
|
||||
Construct a <a class="link" href="../basic_socket_iostream.html" title="basic_socket_iostream"><code class="computeroutput">basic_socket_iostream</code></a>
|
||||
from the supplied socket.
|
||||
</p>
|
||||
<pre class="programlisting">explicit <a class="link" href="basic_socket_iostream/overload2.html" title="basic_socket_iostream::basic_socket_iostream (2 of 4 overloads)">basic_socket_iostream</a>(
|
||||
basic_stream_socket< protocol_type > s);
|
||||
<span class="emphasis"><em>» <a class="link" href="basic_socket_iostream/overload2.html" title="basic_socket_iostream::basic_socket_iostream (2 of 4 overloads)">more...</a></em></span>
|
||||
</pre>
|
||||
<p>
|
||||
Move-construct a <a class="link" href="../basic_socket_iostream.html" title="basic_socket_iostream"><code class="computeroutput">basic_socket_iostream</code></a>
|
||||
from another.
|
||||
</p>
|
||||
<pre class="programlisting"><a class="link" href="basic_socket_iostream/overload3.html" title="basic_socket_iostream::basic_socket_iostream (3 of 4 overloads)">basic_socket_iostream</a>(
|
||||
basic_socket_iostream && other);
|
||||
<span class="emphasis"><em>» <a class="link" href="basic_socket_iostream/overload3.html" title="basic_socket_iostream::basic_socket_iostream (3 of 4 overloads)">more...</a></em></span>
|
||||
</pre>
|
||||
<p>
|
||||
Establish a connection to an endpoint corresponding to a resolver query.
|
||||
</p>
|
||||
<pre class="programlisting">template<
|
||||
typename T1,
|
||||
... ,
|
||||
typename TN>
|
||||
explicit <a class="link" href="basic_socket_iostream/overload4.html" title="basic_socket_iostream::basic_socket_iostream (4 of 4 overloads)">basic_socket_iostream</a>(
|
||||
T1 t1,
|
||||
... ,
|
||||
TN tn);
|
||||
<span class="emphasis"><em>» <a class="link" href="basic_socket_iostream/overload4.html" title="basic_socket_iostream::basic_socket_iostream (4 of 4 overloads)">more...</a></em></span>
|
||||
</pre>
|
||||
</div>
|
||||
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
|
||||
<td align="left"></td>
|
||||
<td align="right"><div class="copyright-footer">Copyright © 2003-2020 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></td>
|
||||
</tr></table>
|
||||
<hr>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="../basic_socket_iostream.html"><img src="../../../prev.png" alt="Prev"></a><a accesskey="u" href="../basic_socket_iostream.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="basic_socket_iostream/overload1.html"><img src="../../../next.png" alt="Next"></a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
+44
@@ -0,0 +1,44 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>basic_socket_iostream::basic_socket_iostream (1 of 4 overloads)</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="../basic_socket_iostream.html" title="basic_socket_iostream::basic_socket_iostream">
|
||||
<link rel="prev" href="../basic_socket_iostream.html" title="basic_socket_iostream::basic_socket_iostream">
|
||||
<link rel="next" href="overload2.html" title="basic_socket_iostream::basic_socket_iostream (2 of 4 overloads)">
|
||||
</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="../basic_socket_iostream.html"><img src="../../../../prev.png" alt="Prev"></a><a accesskey="u" href="../basic_socket_iostream.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="overload2.html"><img src="../../../../next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="section">
|
||||
<div class="titlepage"><div><div><h5 class="title">
|
||||
<a name="asio.reference.basic_socket_iostream.basic_socket_iostream.overload1"></a><a class="link" href="overload1.html" title="basic_socket_iostream::basic_socket_iostream (1 of 4 overloads)">basic_socket_iostream::basic_socket_iostream
|
||||
(1 of 4 overloads)</a>
|
||||
</h5></div></div></div>
|
||||
<p>
|
||||
Construct a <a class="link" href="../../basic_socket_iostream.html" title="basic_socket_iostream"><code class="computeroutput">basic_socket_iostream</code></a>
|
||||
without establishing a connection.
|
||||
</p>
|
||||
<pre class="programlisting">basic_socket_iostream();
|
||||
</pre>
|
||||
</div>
|
||||
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
|
||||
<td align="left"></td>
|
||||
<td align="right"><div class="copyright-footer">Copyright © 2003-2020 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></td>
|
||||
</tr></table>
|
||||
<hr>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="../basic_socket_iostream.html"><img src="../../../../prev.png" alt="Prev"></a><a accesskey="u" href="../basic_socket_iostream.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="overload2.html"><img src="../../../../next.png" alt="Next"></a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
+45
@@ -0,0 +1,45 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>basic_socket_iostream::basic_socket_iostream (2 of 4 overloads)</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="../basic_socket_iostream.html" title="basic_socket_iostream::basic_socket_iostream">
|
||||
<link rel="prev" href="overload1.html" title="basic_socket_iostream::basic_socket_iostream (1 of 4 overloads)">
|
||||
<link rel="next" href="overload3.html" title="basic_socket_iostream::basic_socket_iostream (3 of 4 overloads)">
|
||||
</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="overload1.html"><img src="../../../../prev.png" alt="Prev"></a><a accesskey="u" href="../basic_socket_iostream.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="overload3.html"><img src="../../../../next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="section">
|
||||
<div class="titlepage"><div><div><h5 class="title">
|
||||
<a name="asio.reference.basic_socket_iostream.basic_socket_iostream.overload2"></a><a class="link" href="overload2.html" title="basic_socket_iostream::basic_socket_iostream (2 of 4 overloads)">basic_socket_iostream::basic_socket_iostream
|
||||
(2 of 4 overloads)</a>
|
||||
</h5></div></div></div>
|
||||
<p>
|
||||
Construct a <a class="link" href="../../basic_socket_iostream.html" title="basic_socket_iostream"><code class="computeroutput">basic_socket_iostream</code></a>
|
||||
from the supplied socket.
|
||||
</p>
|
||||
<pre class="programlisting">basic_socket_iostream(
|
||||
basic_stream_socket< protocol_type > s);
|
||||
</pre>
|
||||
</div>
|
||||
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
|
||||
<td align="left"></td>
|
||||
<td align="right"><div class="copyright-footer">Copyright © 2003-2020 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></td>
|
||||
</tr></table>
|
||||
<hr>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="overload1.html"><img src="../../../../prev.png" alt="Prev"></a><a accesskey="u" href="../basic_socket_iostream.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="overload3.html"><img src="../../../../next.png" alt="Next"></a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
+45
@@ -0,0 +1,45 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>basic_socket_iostream::basic_socket_iostream (3 of 4 overloads)</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="../basic_socket_iostream.html" title="basic_socket_iostream::basic_socket_iostream">
|
||||
<link rel="prev" href="overload2.html" title="basic_socket_iostream::basic_socket_iostream (2 of 4 overloads)">
|
||||
<link rel="next" href="overload4.html" title="basic_socket_iostream::basic_socket_iostream (4 of 4 overloads)">
|
||||
</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="overload2.html"><img src="../../../../prev.png" alt="Prev"></a><a accesskey="u" href="../basic_socket_iostream.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="overload4.html"><img src="../../../../next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="section">
|
||||
<div class="titlepage"><div><div><h5 class="title">
|
||||
<a name="asio.reference.basic_socket_iostream.basic_socket_iostream.overload3"></a><a class="link" href="overload3.html" title="basic_socket_iostream::basic_socket_iostream (3 of 4 overloads)">basic_socket_iostream::basic_socket_iostream
|
||||
(3 of 4 overloads)</a>
|
||||
</h5></div></div></div>
|
||||
<p>
|
||||
Move-construct a <a class="link" href="../../basic_socket_iostream.html" title="basic_socket_iostream"><code class="computeroutput">basic_socket_iostream</code></a>
|
||||
from another.
|
||||
</p>
|
||||
<pre class="programlisting">basic_socket_iostream(
|
||||
basic_socket_iostream && other);
|
||||
</pre>
|
||||
</div>
|
||||
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
|
||||
<td align="left"></td>
|
||||
<td align="right"><div class="copyright-footer">Copyright © 2003-2020 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></td>
|
||||
</tr></table>
|
||||
<hr>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="overload2.html"><img src="../../../../prev.png" alt="Prev"></a><a accesskey="u" href="../basic_socket_iostream.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="overload4.html"><img src="../../../../next.png" alt="Next"></a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
+55
@@ -0,0 +1,55 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>basic_socket_iostream::basic_socket_iostream (4 of 4 overloads)</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="../basic_socket_iostream.html" title="basic_socket_iostream::basic_socket_iostream">
|
||||
<link rel="prev" href="overload3.html" title="basic_socket_iostream::basic_socket_iostream (3 of 4 overloads)">
|
||||
<link rel="next" href="../clock_type.html" title="basic_socket_iostream::clock_type">
|
||||
</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="overload3.html"><img src="../../../../prev.png" alt="Prev"></a><a accesskey="u" href="../basic_socket_iostream.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="../clock_type.html"><img src="../../../../next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="section">
|
||||
<div class="titlepage"><div><div><h5 class="title">
|
||||
<a name="asio.reference.basic_socket_iostream.basic_socket_iostream.overload4"></a><a class="link" href="overload4.html" title="basic_socket_iostream::basic_socket_iostream (4 of 4 overloads)">basic_socket_iostream::basic_socket_iostream
|
||||
(4 of 4 overloads)</a>
|
||||
</h5></div></div></div>
|
||||
<p>
|
||||
Establish a connection to an endpoint corresponding to a resolver query.
|
||||
</p>
|
||||
<pre class="programlisting">template<
|
||||
typename T1,
|
||||
... ,
|
||||
typename TN>
|
||||
basic_socket_iostream(
|
||||
T1 t1,
|
||||
... ,
|
||||
TN tn);
|
||||
</pre>
|
||||
<p>
|
||||
This constructor automatically establishes a connection based on the
|
||||
supplied resolver query parameters. The arguments are used to construct
|
||||
a resolver query object.
|
||||
</p>
|
||||
</div>
|
||||
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
|
||||
<td align="left"></td>
|
||||
<td align="right"><div class="copyright-footer">Copyright © 2003-2020 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></td>
|
||||
</tr></table>
|
||||
<hr>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="overload3.html"><img src="../../../../prev.png" alt="Prev"></a><a accesskey="u" href="../basic_socket_iostream.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="../clock_type.html"><img src="../../../../next.png" alt="Next"></a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,54 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>basic_socket_iostream::clock_type</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="../basic_socket_iostream.html" title="basic_socket_iostream">
|
||||
<link rel="prev" href="basic_socket_iostream/overload4.html" title="basic_socket_iostream::basic_socket_iostream (4 of 4 overloads)">
|
||||
<link rel="next" href="close.html" title="basic_socket_iostream::close">
|
||||
</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="basic_socket_iostream/overload4.html"><img src="../../../prev.png" alt="Prev"></a><a accesskey="u" href="../basic_socket_iostream.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="close.html"><img src="../../../next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="section">
|
||||
<div class="titlepage"><div><div><h4 class="title">
|
||||
<a name="asio.reference.basic_socket_iostream.clock_type"></a><a class="link" href="clock_type.html" title="basic_socket_iostream::clock_type">basic_socket_iostream::clock_type</a>
|
||||
</h4></div></div></div>
|
||||
<p>
|
||||
<a class="indexterm" name="asio.indexterm.basic_socket_iostream.clock_type"></a>
|
||||
The
|
||||
clock type.
|
||||
</p>
|
||||
<pre class="programlisting">typedef Clock clock_type;
|
||||
</pre>
|
||||
<h6>
|
||||
<a name="asio.reference.basic_socket_iostream.clock_type.h0"></a>
|
||||
<span><a name="asio.reference.basic_socket_iostream.clock_type.requirements"></a></span><a class="link" href="clock_type.html#asio.reference.basic_socket_iostream.clock_type.requirements">Requirements</a>
|
||||
</h6>
|
||||
<p>
|
||||
<span class="emphasis"><em>Header: </em></span><code class="literal">asio/basic_socket_iostream.hpp</code>
|
||||
</p>
|
||||
<p>
|
||||
<span class="emphasis"><em>Convenience header: </em></span><code class="literal">asio.hpp</code>
|
||||
</p>
|
||||
</div>
|
||||
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
|
||||
<td align="left"></td>
|
||||
<td align="right"><div class="copyright-footer">Copyright © 2003-2020 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></td>
|
||||
</tr></table>
|
||||
<hr>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="basic_socket_iostream/overload4.html"><img src="../../../prev.png" alt="Prev"></a><a accesskey="u" href="../basic_socket_iostream.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="close.html"><img src="../../../next.png" alt="Next"></a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,44 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>basic_socket_iostream::close</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="../basic_socket_iostream.html" title="basic_socket_iostream">
|
||||
<link rel="prev" href="clock_type.html" title="basic_socket_iostream::clock_type">
|
||||
<link rel="next" href="connect.html" title="basic_socket_iostream::connect">
|
||||
</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="clock_type.html"><img src="../../../prev.png" alt="Prev"></a><a accesskey="u" href="../basic_socket_iostream.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="connect.html"><img src="../../../next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="section">
|
||||
<div class="titlepage"><div><div><h4 class="title">
|
||||
<a name="asio.reference.basic_socket_iostream.close"></a><a class="link" href="close.html" title="basic_socket_iostream::close">basic_socket_iostream::close</a>
|
||||
</h4></div></div></div>
|
||||
<p>
|
||||
<a class="indexterm" name="asio.indexterm.basic_socket_iostream.close"></a>
|
||||
Close
|
||||
the connection.
|
||||
</p>
|
||||
<pre class="programlisting">void close();
|
||||
</pre>
|
||||
</div>
|
||||
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
|
||||
<td align="left"></td>
|
||||
<td align="right"><div class="copyright-footer">Copyright © 2003-2020 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></td>
|
||||
</tr></table>
|
||||
<hr>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="clock_type.html"><img src="../../../prev.png" alt="Prev"></a><a accesskey="u" href="../basic_socket_iostream.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="connect.html"><img src="../../../next.png" alt="Next"></a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,56 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>basic_socket_iostream::connect</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="../basic_socket_iostream.html" title="basic_socket_iostream">
|
||||
<link rel="prev" href="close.html" title="basic_socket_iostream::close">
|
||||
<link rel="next" href="duration.html" title="basic_socket_iostream::duration">
|
||||
</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="close.html"><img src="../../../prev.png" alt="Prev"></a><a accesskey="u" href="../basic_socket_iostream.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="duration.html"><img src="../../../next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="section">
|
||||
<div class="titlepage"><div><div><h4 class="title">
|
||||
<a name="asio.reference.basic_socket_iostream.connect"></a><a class="link" href="connect.html" title="basic_socket_iostream::connect">basic_socket_iostream::connect</a>
|
||||
</h4></div></div></div>
|
||||
<p>
|
||||
<a class="indexterm" name="asio.indexterm.basic_socket_iostream.connect"></a>
|
||||
Establish
|
||||
a connection to an endpoint corresponding to a resolver query.
|
||||
</p>
|
||||
<pre class="programlisting">template<
|
||||
typename T1,
|
||||
... ,
|
||||
typename TN>
|
||||
void connect(
|
||||
T1 t1,
|
||||
... ,
|
||||
TN tn);
|
||||
</pre>
|
||||
<p>
|
||||
This function automatically establishes a connection based on the supplied
|
||||
resolver query parameters. The arguments are used to construct a resolver
|
||||
query object.
|
||||
</p>
|
||||
</div>
|
||||
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
|
||||
<td align="left"></td>
|
||||
<td align="right"><div class="copyright-footer">Copyright © 2003-2020 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></td>
|
||||
</tr></table>
|
||||
<hr>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="close.html"><img src="../../../prev.png" alt="Prev"></a><a accesskey="u" href="../basic_socket_iostream.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="duration.html"><img src="../../../next.png" alt="Next"></a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,54 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>basic_socket_iostream::duration</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="../basic_socket_iostream.html" title="basic_socket_iostream">
|
||||
<link rel="prev" href="connect.html" title="basic_socket_iostream::connect">
|
||||
<link rel="next" href="duration_type.html" title="basic_socket_iostream::duration_type">
|
||||
</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="connect.html"><img src="../../../prev.png" alt="Prev"></a><a accesskey="u" href="../basic_socket_iostream.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="duration_type.html"><img src="../../../next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="section">
|
||||
<div class="titlepage"><div><div><h4 class="title">
|
||||
<a name="asio.reference.basic_socket_iostream.duration"></a><a class="link" href="duration.html" title="basic_socket_iostream::duration">basic_socket_iostream::duration</a>
|
||||
</h4></div></div></div>
|
||||
<p>
|
||||
<a class="indexterm" name="asio.indexterm.basic_socket_iostream.duration"></a>
|
||||
The
|
||||
duration type.
|
||||
</p>
|
||||
<pre class="programlisting">typedef WaitTraits::duration duration;
|
||||
</pre>
|
||||
<h6>
|
||||
<a name="asio.reference.basic_socket_iostream.duration.h0"></a>
|
||||
<span><a name="asio.reference.basic_socket_iostream.duration.requirements"></a></span><a class="link" href="duration.html#asio.reference.basic_socket_iostream.duration.requirements">Requirements</a>
|
||||
</h6>
|
||||
<p>
|
||||
<span class="emphasis"><em>Header: </em></span><code class="literal">asio/basic_socket_iostream.hpp</code>
|
||||
</p>
|
||||
<p>
|
||||
<span class="emphasis"><em>Convenience header: </em></span><code class="literal">asio.hpp</code>
|
||||
</p>
|
||||
</div>
|
||||
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
|
||||
<td align="left"></td>
|
||||
<td align="right"><div class="copyright-footer">Copyright © 2003-2020 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></td>
|
||||
</tr></table>
|
||||
<hr>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="connect.html"><img src="../../../prev.png" alt="Prev"></a><a accesskey="u" href="../basic_socket_iostream.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="duration_type.html"><img src="../../../next.png" alt="Next"></a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,54 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>basic_socket_iostream::duration_type</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="../basic_socket_iostream.html" title="basic_socket_iostream">
|
||||
<link rel="prev" href="duration.html" title="basic_socket_iostream::duration">
|
||||
<link rel="next" href="endpoint_type.html" title="basic_socket_iostream::endpoint_type">
|
||||
</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="duration.html"><img src="../../../prev.png" alt="Prev"></a><a accesskey="u" href="../basic_socket_iostream.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="endpoint_type.html"><img src="../../../next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="section">
|
||||
<div class="titlepage"><div><div><h4 class="title">
|
||||
<a name="asio.reference.basic_socket_iostream.duration_type"></a><a class="link" href="duration_type.html" title="basic_socket_iostream::duration_type">basic_socket_iostream::duration_type</a>
|
||||
</h4></div></div></div>
|
||||
<p>
|
||||
<a class="indexterm" name="asio.indexterm.basic_socket_iostream.duration_type"></a>
|
||||
(Deprecated:
|
||||
Use duration.) The duration type.
|
||||
</p>
|
||||
<pre class="programlisting">typedef WaitTraits::duration_type duration_type;
|
||||
</pre>
|
||||
<h6>
|
||||
<a name="asio.reference.basic_socket_iostream.duration_type.h0"></a>
|
||||
<span><a name="asio.reference.basic_socket_iostream.duration_type.requirements"></a></span><a class="link" href="duration_type.html#asio.reference.basic_socket_iostream.duration_type.requirements">Requirements</a>
|
||||
</h6>
|
||||
<p>
|
||||
<span class="emphasis"><em>Header: </em></span><code class="literal">asio/basic_socket_iostream.hpp</code>
|
||||
</p>
|
||||
<p>
|
||||
<span class="emphasis"><em>Convenience header: </em></span><code class="literal">asio.hpp</code>
|
||||
</p>
|
||||
</div>
|
||||
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
|
||||
<td align="left"></td>
|
||||
<td align="right"><div class="copyright-footer">Copyright © 2003-2020 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></td>
|
||||
</tr></table>
|
||||
<hr>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="duration.html"><img src="../../../prev.png" alt="Prev"></a><a accesskey="u" href="../basic_socket_iostream.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="endpoint_type.html"><img src="../../../next.png" alt="Next"></a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,54 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>basic_socket_iostream::endpoint_type</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="../basic_socket_iostream.html" title="basic_socket_iostream">
|
||||
<link rel="prev" href="duration_type.html" title="basic_socket_iostream::duration_type">
|
||||
<link rel="next" href="error.html" title="basic_socket_iostream::error">
|
||||
</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="duration_type.html"><img src="../../../prev.png" alt="Prev"></a><a accesskey="u" href="../basic_socket_iostream.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="error.html"><img src="../../../next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="section">
|
||||
<div class="titlepage"><div><div><h4 class="title">
|
||||
<a name="asio.reference.basic_socket_iostream.endpoint_type"></a><a class="link" href="endpoint_type.html" title="basic_socket_iostream::endpoint_type">basic_socket_iostream::endpoint_type</a>
|
||||
</h4></div></div></div>
|
||||
<p>
|
||||
<a class="indexterm" name="asio.indexterm.basic_socket_iostream.endpoint_type"></a>
|
||||
The
|
||||
endpoint type.
|
||||
</p>
|
||||
<pre class="programlisting">typedef Protocol::endpoint endpoint_type;
|
||||
</pre>
|
||||
<h6>
|
||||
<a name="asio.reference.basic_socket_iostream.endpoint_type.h0"></a>
|
||||
<span><a name="asio.reference.basic_socket_iostream.endpoint_type.requirements"></a></span><a class="link" href="endpoint_type.html#asio.reference.basic_socket_iostream.endpoint_type.requirements">Requirements</a>
|
||||
</h6>
|
||||
<p>
|
||||
<span class="emphasis"><em>Header: </em></span><code class="literal">asio/basic_socket_iostream.hpp</code>
|
||||
</p>
|
||||
<p>
|
||||
<span class="emphasis"><em>Convenience header: </em></span><code class="literal">asio.hpp</code>
|
||||
</p>
|
||||
</div>
|
||||
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
|
||||
<td align="left"></td>
|
||||
<td align="right"><div class="copyright-footer">Copyright © 2003-2020 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></td>
|
||||
</tr></table>
|
||||
<hr>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="duration_type.html"><img src="../../../prev.png" alt="Prev"></a><a accesskey="u" href="../basic_socket_iostream.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="error.html"><img src="../../../next.png" alt="Next"></a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,65 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>basic_socket_iostream::error</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="../basic_socket_iostream.html" title="basic_socket_iostream">
|
||||
<link rel="prev" href="endpoint_type.html" title="basic_socket_iostream::endpoint_type">
|
||||
<link rel="next" href="expires_after.html" title="basic_socket_iostream::expires_after">
|
||||
</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="endpoint_type.html"><img src="../../../prev.png" alt="Prev"></a><a accesskey="u" href="../basic_socket_iostream.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="expires_after.html"><img src="../../../next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="section">
|
||||
<div class="titlepage"><div><div><h4 class="title">
|
||||
<a name="asio.reference.basic_socket_iostream.error"></a><a class="link" href="error.html" title="basic_socket_iostream::error">basic_socket_iostream::error</a>
|
||||
</h4></div></div></div>
|
||||
<p>
|
||||
<a class="indexterm" name="asio.indexterm.basic_socket_iostream.error"></a>
|
||||
Get
|
||||
the last error associated with the stream.
|
||||
</p>
|
||||
<pre class="programlisting">const asio::error_code & error() const;
|
||||
</pre>
|
||||
<h6>
|
||||
<a name="asio.reference.basic_socket_iostream.error.h0"></a>
|
||||
<span><a name="asio.reference.basic_socket_iostream.error.return_value"></a></span><a class="link" href="error.html#asio.reference.basic_socket_iostream.error.return_value">Return
|
||||
Value</a>
|
||||
</h6>
|
||||
<p>
|
||||
An <code class="computeroutput">error_code</code> corresponding to the last error from the stream.
|
||||
</p>
|
||||
<h6>
|
||||
<a name="asio.reference.basic_socket_iostream.error.h1"></a>
|
||||
<span><a name="asio.reference.basic_socket_iostream.error.example"></a></span><a class="link" href="error.html#asio.reference.basic_socket_iostream.error.example">Example</a>
|
||||
</h6>
|
||||
<p>
|
||||
To print the error associated with a failure to establish a connection:
|
||||
</p>
|
||||
<pre class="programlisting">tcp::iostream s("www.boost.org", "http");
|
||||
if (!s)
|
||||
{
|
||||
std::cout << "Error: " << s.error().message() << std::endl;
|
||||
}
|
||||
</pre>
|
||||
</div>
|
||||
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
|
||||
<td align="left"></td>
|
||||
<td align="right"><div class="copyright-footer">Copyright © 2003-2020 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></td>
|
||||
</tr></table>
|
||||
<hr>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="endpoint_type.html"><img src="../../../prev.png" alt="Prev"></a><a accesskey="u" href="../basic_socket_iostream.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="expires_after.html"><img src="../../../next.png" alt="Next"></a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,63 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>basic_socket_iostream::expires_after</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="../basic_socket_iostream.html" title="basic_socket_iostream">
|
||||
<link rel="prev" href="error.html" title="basic_socket_iostream::error">
|
||||
<link rel="next" href="expires_at.html" title="basic_socket_iostream::expires_at">
|
||||
</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="error.html"><img src="../../../prev.png" alt="Prev"></a><a accesskey="u" href="../basic_socket_iostream.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="expires_at.html"><img src="../../../next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="section">
|
||||
<div class="titlepage"><div><div><h4 class="title">
|
||||
<a name="asio.reference.basic_socket_iostream.expires_after"></a><a class="link" href="expires_after.html" title="basic_socket_iostream::expires_after">basic_socket_iostream::expires_after</a>
|
||||
</h4></div></div></div>
|
||||
<p>
|
||||
<a class="indexterm" name="asio.indexterm.basic_socket_iostream.expires_after"></a>
|
||||
Set
|
||||
the stream's expiry time relative to now.
|
||||
</p>
|
||||
<pre class="programlisting">void expires_after(
|
||||
const duration & expiry_time);
|
||||
</pre>
|
||||
<p>
|
||||
This function sets the expiry time associated with the stream. Stream operations
|
||||
performed after this time (where the operations cannot be completed using
|
||||
the internal buffers) will fail with the error <code class="computeroutput">asio::error::operation_aborted</code>.
|
||||
</p>
|
||||
<h6>
|
||||
<a name="asio.reference.basic_socket_iostream.expires_after.h0"></a>
|
||||
<span><a name="asio.reference.basic_socket_iostream.expires_after.parameters"></a></span><a class="link" href="expires_after.html#asio.reference.basic_socket_iostream.expires_after.parameters">Parameters</a>
|
||||
</h6>
|
||||
<div class="variablelist">
|
||||
<p class="title"><b></b></p>
|
||||
<dl>
|
||||
<dt><span class="term">expiry_time</span></dt>
|
||||
<dd><p>
|
||||
The expiry time to be used for the timer.
|
||||
</p></dd>
|
||||
</dl>
|
||||
</div>
|
||||
</div>
|
||||
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
|
||||
<td align="left"></td>
|
||||
<td align="right"><div class="copyright-footer">Copyright © 2003-2020 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></td>
|
||||
</tr></table>
|
||||
<hr>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="error.html"><img src="../../../prev.png" alt="Prev"></a><a accesskey="u" href="../basic_socket_iostream.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="expires_at.html"><img src="../../../next.png" alt="Next"></a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,53 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>basic_socket_iostream::expires_at</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="../basic_socket_iostream.html" title="basic_socket_iostream">
|
||||
<link rel="prev" href="expires_after.html" title="basic_socket_iostream::expires_after">
|
||||
<link rel="next" href="expires_at/overload1.html" title="basic_socket_iostream::expires_at (1 of 2 overloads)">
|
||||
</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="expires_after.html"><img src="../../../prev.png" alt="Prev"></a><a accesskey="u" href="../basic_socket_iostream.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="expires_at/overload1.html"><img src="../../../next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="section">
|
||||
<div class="titlepage"><div><div><h4 class="title">
|
||||
<a name="asio.reference.basic_socket_iostream.expires_at"></a><a class="link" href="expires_at.html" title="basic_socket_iostream::expires_at">basic_socket_iostream::expires_at</a>
|
||||
</h4></div></div></div>
|
||||
<p>
|
||||
<a class="indexterm" name="asio.indexterm.basic_socket_iostream.expires_at"></a>
|
||||
(Deprecated:
|
||||
Use <code class="computeroutput">expiry()</code>.) Get the stream's expiry time as an absolute
|
||||
time.
|
||||
</p>
|
||||
<pre class="programlisting">time_point <a class="link" href="expires_at/overload1.html" title="basic_socket_iostream::expires_at (1 of 2 overloads)">expires_at</a>() const;
|
||||
<span class="emphasis"><em>» <a class="link" href="expires_at/overload1.html" title="basic_socket_iostream::expires_at (1 of 2 overloads)">more...</a></em></span>
|
||||
</pre>
|
||||
<p>
|
||||
Set the stream's expiry time as an absolute time.
|
||||
</p>
|
||||
<pre class="programlisting">void <a class="link" href="expires_at/overload2.html" title="basic_socket_iostream::expires_at (2 of 2 overloads)">expires_at</a>(
|
||||
const time_point & expiry_time);
|
||||
<span class="emphasis"><em>» <a class="link" href="expires_at/overload2.html" title="basic_socket_iostream::expires_at (2 of 2 overloads)">more...</a></em></span>
|
||||
</pre>
|
||||
</div>
|
||||
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
|
||||
<td align="left"></td>
|
||||
<td align="right"><div class="copyright-footer">Copyright © 2003-2020 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></td>
|
||||
</tr></table>
|
||||
<hr>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="expires_after.html"><img src="../../../prev.png" alt="Prev"></a><a accesskey="u" href="../basic_socket_iostream.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="expires_at/overload1.html"><img src="../../../next.png" alt="Next"></a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,52 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>basic_socket_iostream::expires_at (1 of 2 overloads)</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="../expires_at.html" title="basic_socket_iostream::expires_at">
|
||||
<link rel="prev" href="../expires_at.html" title="basic_socket_iostream::expires_at">
|
||||
<link rel="next" href="overload2.html" title="basic_socket_iostream::expires_at (2 of 2 overloads)">
|
||||
</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="../expires_at.html"><img src="../../../../prev.png" alt="Prev"></a><a accesskey="u" href="../expires_at.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="overload2.html"><img src="../../../../next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="section">
|
||||
<div class="titlepage"><div><div><h5 class="title">
|
||||
<a name="asio.reference.basic_socket_iostream.expires_at.overload1"></a><a class="link" href="overload1.html" title="basic_socket_iostream::expires_at (1 of 2 overloads)">basic_socket_iostream::expires_at
|
||||
(1 of 2 overloads)</a>
|
||||
</h5></div></div></div>
|
||||
<p>
|
||||
(Deprecated: Use <code class="computeroutput">expiry()</code>.) Get the stream's expiry time
|
||||
as an absolute time.
|
||||
</p>
|
||||
<pre class="programlisting">time_point expires_at() const;
|
||||
</pre>
|
||||
<h6>
|
||||
<a name="asio.reference.basic_socket_iostream.expires_at.overload1.h0"></a>
|
||||
<span><a name="asio.reference.basic_socket_iostream.expires_at.overload1.return_value"></a></span><a class="link" href="overload1.html#asio.reference.basic_socket_iostream.expires_at.overload1.return_value">Return
|
||||
Value</a>
|
||||
</h6>
|
||||
<p>
|
||||
An absolute time value representing the stream's expiry time.
|
||||
</p>
|
||||
</div>
|
||||
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
|
||||
<td align="left"></td>
|
||||
<td align="right"><div class="copyright-footer">Copyright © 2003-2020 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></td>
|
||||
</tr></table>
|
||||
<hr>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="../expires_at.html"><img src="../../../../prev.png" alt="Prev"></a><a accesskey="u" href="../expires_at.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="overload2.html"><img src="../../../../next.png" alt="Next"></a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,62 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>basic_socket_iostream::expires_at (2 of 2 overloads)</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="../expires_at.html" title="basic_socket_iostream::expires_at">
|
||||
<link rel="prev" href="overload1.html" title="basic_socket_iostream::expires_at (1 of 2 overloads)">
|
||||
<link rel="next" href="../expires_from_now.html" title="basic_socket_iostream::expires_from_now">
|
||||
</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="overload1.html"><img src="../../../../prev.png" alt="Prev"></a><a accesskey="u" href="../expires_at.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="../expires_from_now.html"><img src="../../../../next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="section">
|
||||
<div class="titlepage"><div><div><h5 class="title">
|
||||
<a name="asio.reference.basic_socket_iostream.expires_at.overload2"></a><a class="link" href="overload2.html" title="basic_socket_iostream::expires_at (2 of 2 overloads)">basic_socket_iostream::expires_at
|
||||
(2 of 2 overloads)</a>
|
||||
</h5></div></div></div>
|
||||
<p>
|
||||
Set the stream's expiry time as an absolute time.
|
||||
</p>
|
||||
<pre class="programlisting">void expires_at(
|
||||
const time_point & expiry_time);
|
||||
</pre>
|
||||
<p>
|
||||
This function sets the expiry time associated with the stream. Stream
|
||||
operations performed after this time (where the operations cannot be
|
||||
completed using the internal buffers) will fail with the error <code class="computeroutput">asio::error::operation_aborted</code>.
|
||||
</p>
|
||||
<h6>
|
||||
<a name="asio.reference.basic_socket_iostream.expires_at.overload2.h0"></a>
|
||||
<span><a name="asio.reference.basic_socket_iostream.expires_at.overload2.parameters"></a></span><a class="link" href="overload2.html#asio.reference.basic_socket_iostream.expires_at.overload2.parameters">Parameters</a>
|
||||
</h6>
|
||||
<div class="variablelist">
|
||||
<p class="title"><b></b></p>
|
||||
<dl>
|
||||
<dt><span class="term">expiry_time</span></dt>
|
||||
<dd><p>
|
||||
The expiry time to be used for the stream.
|
||||
</p></dd>
|
||||
</dl>
|
||||
</div>
|
||||
</div>
|
||||
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
|
||||
<td align="left"></td>
|
||||
<td align="right"><div class="copyright-footer">Copyright © 2003-2020 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></td>
|
||||
</tr></table>
|
||||
<hr>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="overload1.html"><img src="../../../../prev.png" alt="Prev"></a><a accesskey="u" href="../expires_at.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="../expires_from_now.html"><img src="../../../../next.png" alt="Next"></a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,53 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>basic_socket_iostream::expires_from_now</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="../basic_socket_iostream.html" title="basic_socket_iostream">
|
||||
<link rel="prev" href="expires_at/overload2.html" title="basic_socket_iostream::expires_at (2 of 2 overloads)">
|
||||
<link rel="next" href="expires_from_now/overload1.html" title="basic_socket_iostream::expires_from_now (1 of 2 overloads)">
|
||||
</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="expires_at/overload2.html"><img src="../../../prev.png" alt="Prev"></a><a accesskey="u" href="../basic_socket_iostream.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="expires_from_now/overload1.html"><img src="../../../next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="section">
|
||||
<div class="titlepage"><div><div><h4 class="title">
|
||||
<a name="asio.reference.basic_socket_iostream.expires_from_now"></a><a class="link" href="expires_from_now.html" title="basic_socket_iostream::expires_from_now">basic_socket_iostream::expires_from_now</a>
|
||||
</h4></div></div></div>
|
||||
<p>
|
||||
<a class="indexterm" name="asio.indexterm.basic_socket_iostream.expires_from_now"></a>
|
||||
(Deprecated:
|
||||
Use <code class="computeroutput">expiry()</code>.) Get the stream's expiry time relative to now.
|
||||
</p>
|
||||
<pre class="programlisting">duration <a class="link" href="expires_from_now/overload1.html" title="basic_socket_iostream::expires_from_now (1 of 2 overloads)">expires_from_now</a>() const;
|
||||
<span class="emphasis"><em>» <a class="link" href="expires_from_now/overload1.html" title="basic_socket_iostream::expires_from_now (1 of 2 overloads)">more...</a></em></span>
|
||||
</pre>
|
||||
<p>
|
||||
(Deprecated: Use <code class="computeroutput">expires_after()</code>.) Set the stream's expiry
|
||||
time relative to now.
|
||||
</p>
|
||||
<pre class="programlisting">void <a class="link" href="expires_from_now/overload2.html" title="basic_socket_iostream::expires_from_now (2 of 2 overloads)">expires_from_now</a>(
|
||||
const duration & expiry_time);
|
||||
<span class="emphasis"><em>» <a class="link" href="expires_from_now/overload2.html" title="basic_socket_iostream::expires_from_now (2 of 2 overloads)">more...</a></em></span>
|
||||
</pre>
|
||||
</div>
|
||||
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
|
||||
<td align="left"></td>
|
||||
<td align="right"><div class="copyright-footer">Copyright © 2003-2020 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></td>
|
||||
</tr></table>
|
||||
<hr>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="expires_at/overload2.html"><img src="../../../prev.png" alt="Prev"></a><a accesskey="u" href="../basic_socket_iostream.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="expires_from_now/overload1.html"><img src="../../../next.png" alt="Next"></a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
+52
@@ -0,0 +1,52 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>basic_socket_iostream::expires_from_now (1 of 2 overloads)</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="../expires_from_now.html" title="basic_socket_iostream::expires_from_now">
|
||||
<link rel="prev" href="../expires_from_now.html" title="basic_socket_iostream::expires_from_now">
|
||||
<link rel="next" href="overload2.html" title="basic_socket_iostream::expires_from_now (2 of 2 overloads)">
|
||||
</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="../expires_from_now.html"><img src="../../../../prev.png" alt="Prev"></a><a accesskey="u" href="../expires_from_now.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="overload2.html"><img src="../../../../next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="section">
|
||||
<div class="titlepage"><div><div><h5 class="title">
|
||||
<a name="asio.reference.basic_socket_iostream.expires_from_now.overload1"></a><a class="link" href="overload1.html" title="basic_socket_iostream::expires_from_now (1 of 2 overloads)">basic_socket_iostream::expires_from_now
|
||||
(1 of 2 overloads)</a>
|
||||
</h5></div></div></div>
|
||||
<p>
|
||||
(Deprecated: Use <code class="computeroutput">expiry()</code>.) Get the stream's expiry time
|
||||
relative to now.
|
||||
</p>
|
||||
<pre class="programlisting">duration expires_from_now() const;
|
||||
</pre>
|
||||
<h6>
|
||||
<a name="asio.reference.basic_socket_iostream.expires_from_now.overload1.h0"></a>
|
||||
<span><a name="asio.reference.basic_socket_iostream.expires_from_now.overload1.return_value"></a></span><a class="link" href="overload1.html#asio.reference.basic_socket_iostream.expires_from_now.overload1.return_value">Return
|
||||
Value</a>
|
||||
</h6>
|
||||
<p>
|
||||
A relative time value representing the stream's expiry time.
|
||||
</p>
|
||||
</div>
|
||||
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
|
||||
<td align="left"></td>
|
||||
<td align="right"><div class="copyright-footer">Copyright © 2003-2020 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></td>
|
||||
</tr></table>
|
||||
<hr>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="../expires_from_now.html"><img src="../../../../prev.png" alt="Prev"></a><a accesskey="u" href="../expires_from_now.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="overload2.html"><img src="../../../../next.png" alt="Next"></a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
+63
@@ -0,0 +1,63 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>basic_socket_iostream::expires_from_now (2 of 2 overloads)</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="../expires_from_now.html" title="basic_socket_iostream::expires_from_now">
|
||||
<link rel="prev" href="overload1.html" title="basic_socket_iostream::expires_from_now (1 of 2 overloads)">
|
||||
<link rel="next" href="../expiry.html" title="basic_socket_iostream::expiry">
|
||||
</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="overload1.html"><img src="../../../../prev.png" alt="Prev"></a><a accesskey="u" href="../expires_from_now.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="../expiry.html"><img src="../../../../next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="section">
|
||||
<div class="titlepage"><div><div><h5 class="title">
|
||||
<a name="asio.reference.basic_socket_iostream.expires_from_now.overload2"></a><a class="link" href="overload2.html" title="basic_socket_iostream::expires_from_now (2 of 2 overloads)">basic_socket_iostream::expires_from_now
|
||||
(2 of 2 overloads)</a>
|
||||
</h5></div></div></div>
|
||||
<p>
|
||||
(Deprecated: Use <code class="computeroutput">expires_after()</code>.) Set the stream's expiry
|
||||
time relative to now.
|
||||
</p>
|
||||
<pre class="programlisting">void expires_from_now(
|
||||
const duration & expiry_time);
|
||||
</pre>
|
||||
<p>
|
||||
This function sets the expiry time associated with the stream. Stream
|
||||
operations performed after this time (where the operations cannot be
|
||||
completed using the internal buffers) will fail with the error <code class="computeroutput">asio::error::operation_aborted</code>.
|
||||
</p>
|
||||
<h6>
|
||||
<a name="asio.reference.basic_socket_iostream.expires_from_now.overload2.h0"></a>
|
||||
<span><a name="asio.reference.basic_socket_iostream.expires_from_now.overload2.parameters"></a></span><a class="link" href="overload2.html#asio.reference.basic_socket_iostream.expires_from_now.overload2.parameters">Parameters</a>
|
||||
</h6>
|
||||
<div class="variablelist">
|
||||
<p class="title"><b></b></p>
|
||||
<dl>
|
||||
<dt><span class="term">expiry_time</span></dt>
|
||||
<dd><p>
|
||||
The expiry time to be used for the timer.
|
||||
</p></dd>
|
||||
</dl>
|
||||
</div>
|
||||
</div>
|
||||
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
|
||||
<td align="left"></td>
|
||||
<td align="right"><div class="copyright-footer">Copyright © 2003-2020 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></td>
|
||||
</tr></table>
|
||||
<hr>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="overload1.html"><img src="../../../../prev.png" alt="Prev"></a><a accesskey="u" href="../expires_from_now.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="../expiry.html"><img src="../../../../next.png" alt="Next"></a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,52 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>basic_socket_iostream::expiry</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="../basic_socket_iostream.html" title="basic_socket_iostream">
|
||||
<link rel="prev" href="expires_from_now/overload2.html" title="basic_socket_iostream::expires_from_now (2 of 2 overloads)">
|
||||
<link rel="next" href="operator_eq_.html" title="basic_socket_iostream::operator=">
|
||||
</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="expires_from_now/overload2.html"><img src="../../../prev.png" alt="Prev"></a><a accesskey="u" href="../basic_socket_iostream.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="operator_eq_.html"><img src="../../../next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="section">
|
||||
<div class="titlepage"><div><div><h4 class="title">
|
||||
<a name="asio.reference.basic_socket_iostream.expiry"></a><a class="link" href="expiry.html" title="basic_socket_iostream::expiry">basic_socket_iostream::expiry</a>
|
||||
</h4></div></div></div>
|
||||
<p>
|
||||
<a class="indexterm" name="asio.indexterm.basic_socket_iostream.expiry"></a>
|
||||
Get
|
||||
the stream's expiry time as an absolute time.
|
||||
</p>
|
||||
<pre class="programlisting">time_point expiry() const;
|
||||
</pre>
|
||||
<h6>
|
||||
<a name="asio.reference.basic_socket_iostream.expiry.h0"></a>
|
||||
<span><a name="asio.reference.basic_socket_iostream.expiry.return_value"></a></span><a class="link" href="expiry.html#asio.reference.basic_socket_iostream.expiry.return_value">Return
|
||||
Value</a>
|
||||
</h6>
|
||||
<p>
|
||||
An absolute time value representing the stream's expiry time.
|
||||
</p>
|
||||
</div>
|
||||
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
|
||||
<td align="left"></td>
|
||||
<td align="right"><div class="copyright-footer">Copyright © 2003-2020 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></td>
|
||||
</tr></table>
|
||||
<hr>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="expires_from_now/overload2.html"><img src="../../../prev.png" alt="Prev"></a><a accesskey="u" href="../basic_socket_iostream.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="operator_eq_.html"><img src="../../../next.png" alt="Next"></a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,46 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>basic_socket_iostream::operator=</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="../basic_socket_iostream.html" title="basic_socket_iostream">
|
||||
<link rel="prev" href="expiry.html" title="basic_socket_iostream::expiry">
|
||||
<link rel="next" href="protocol_type.html" title="basic_socket_iostream::protocol_type">
|
||||
</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="expiry.html"><img src="../../../prev.png" alt="Prev"></a><a accesskey="u" href="../basic_socket_iostream.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="protocol_type.html"><img src="../../../next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="section">
|
||||
<div class="titlepage"><div><div><h4 class="title">
|
||||
<a name="asio.reference.basic_socket_iostream.operator_eq_"></a><a class="link" href="operator_eq_.html" title="basic_socket_iostream::operator=">basic_socket_iostream::operator=</a>
|
||||
</h4></div></div></div>
|
||||
<p>
|
||||
<a class="indexterm" name="asio.indexterm.basic_socket_iostream.operator_eq_"></a>
|
||||
Move-assign
|
||||
a <a class="link" href="../basic_socket_iostream.html" title="basic_socket_iostream"><code class="computeroutput">basic_socket_iostream</code></a>
|
||||
from another.
|
||||
</p>
|
||||
<pre class="programlisting">basic_socket_iostream & operator=(
|
||||
basic_socket_iostream && other);
|
||||
</pre>
|
||||
</div>
|
||||
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
|
||||
<td align="left"></td>
|
||||
<td align="right"><div class="copyright-footer">Copyright © 2003-2020 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></td>
|
||||
</tr></table>
|
||||
<hr>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="expiry.html"><img src="../../../prev.png" alt="Prev"></a><a accesskey="u" href="../basic_socket_iostream.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="protocol_type.html"><img src="../../../next.png" alt="Next"></a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,54 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>basic_socket_iostream::protocol_type</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="../basic_socket_iostream.html" title="basic_socket_iostream">
|
||||
<link rel="prev" href="operator_eq_.html" title="basic_socket_iostream::operator=">
|
||||
<link rel="next" href="rdbuf.html" title="basic_socket_iostream::rdbuf">
|
||||
</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="operator_eq_.html"><img src="../../../prev.png" alt="Prev"></a><a accesskey="u" href="../basic_socket_iostream.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="rdbuf.html"><img src="../../../next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="section">
|
||||
<div class="titlepage"><div><div><h4 class="title">
|
||||
<a name="asio.reference.basic_socket_iostream.protocol_type"></a><a class="link" href="protocol_type.html" title="basic_socket_iostream::protocol_type">basic_socket_iostream::protocol_type</a>
|
||||
</h4></div></div></div>
|
||||
<p>
|
||||
<a class="indexterm" name="asio.indexterm.basic_socket_iostream.protocol_type"></a>
|
||||
The
|
||||
protocol type.
|
||||
</p>
|
||||
<pre class="programlisting">typedef Protocol protocol_type;
|
||||
</pre>
|
||||
<h6>
|
||||
<a name="asio.reference.basic_socket_iostream.protocol_type.h0"></a>
|
||||
<span><a name="asio.reference.basic_socket_iostream.protocol_type.requirements"></a></span><a class="link" href="protocol_type.html#asio.reference.basic_socket_iostream.protocol_type.requirements">Requirements</a>
|
||||
</h6>
|
||||
<p>
|
||||
<span class="emphasis"><em>Header: </em></span><code class="literal">asio/basic_socket_iostream.hpp</code>
|
||||
</p>
|
||||
<p>
|
||||
<span class="emphasis"><em>Convenience header: </em></span><code class="literal">asio.hpp</code>
|
||||
</p>
|
||||
</div>
|
||||
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
|
||||
<td align="left"></td>
|
||||
<td align="right"><div class="copyright-footer">Copyright © 2003-2020 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></td>
|
||||
</tr></table>
|
||||
<hr>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="operator_eq_.html"><img src="../../../prev.png" alt="Prev"></a><a accesskey="u" href="../basic_socket_iostream.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="rdbuf.html"><img src="../../../next.png" alt="Next"></a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,44 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>basic_socket_iostream::rdbuf</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="../basic_socket_iostream.html" title="basic_socket_iostream">
|
||||
<link rel="prev" href="protocol_type.html" title="basic_socket_iostream::protocol_type">
|
||||
<link rel="next" href="socket.html" title="basic_socket_iostream::socket">
|
||||
</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="protocol_type.html"><img src="../../../prev.png" alt="Prev"></a><a accesskey="u" href="../basic_socket_iostream.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="socket.html"><img src="../../../next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="section">
|
||||
<div class="titlepage"><div><div><h4 class="title">
|
||||
<a name="asio.reference.basic_socket_iostream.rdbuf"></a><a class="link" href="rdbuf.html" title="basic_socket_iostream::rdbuf">basic_socket_iostream::rdbuf</a>
|
||||
</h4></div></div></div>
|
||||
<p>
|
||||
<a class="indexterm" name="asio.indexterm.basic_socket_iostream.rdbuf"></a>
|
||||
Return
|
||||
a pointer to the underlying streambuf.
|
||||
</p>
|
||||
<pre class="programlisting">basic_socket_streambuf< Protocol, Clock, WaitTraits > * rdbuf() const;
|
||||
</pre>
|
||||
</div>
|
||||
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
|
||||
<td align="left"></td>
|
||||
<td align="right"><div class="copyright-footer">Copyright © 2003-2020 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></td>
|
||||
</tr></table>
|
||||
<hr>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="protocol_type.html"><img src="../../../prev.png" alt="Prev"></a><a accesskey="u" href="../basic_socket_iostream.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="socket.html"><img src="../../../next.png" alt="Next"></a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,44 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>basic_socket_iostream::socket</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="../basic_socket_iostream.html" title="basic_socket_iostream">
|
||||
<link rel="prev" href="rdbuf.html" title="basic_socket_iostream::rdbuf">
|
||||
<link rel="next" href="time_point.html" title="basic_socket_iostream::time_point">
|
||||
</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="rdbuf.html"><img src="../../../prev.png" alt="Prev"></a><a accesskey="u" href="../basic_socket_iostream.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="time_point.html"><img src="../../../next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="section">
|
||||
<div class="titlepage"><div><div><h4 class="title">
|
||||
<a name="asio.reference.basic_socket_iostream.socket"></a><a class="link" href="socket.html" title="basic_socket_iostream::socket">basic_socket_iostream::socket</a>
|
||||
</h4></div></div></div>
|
||||
<p>
|
||||
<a class="indexterm" name="asio.indexterm.basic_socket_iostream.socket"></a>
|
||||
Get
|
||||
a reference to the underlying socket.
|
||||
</p>
|
||||
<pre class="programlisting">basic_socket< Protocol > & socket();
|
||||
</pre>
|
||||
</div>
|
||||
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
|
||||
<td align="left"></td>
|
||||
<td align="right"><div class="copyright-footer">Copyright © 2003-2020 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></td>
|
||||
</tr></table>
|
||||
<hr>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="rdbuf.html"><img src="../../../prev.png" alt="Prev"></a><a accesskey="u" href="../basic_socket_iostream.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="time_point.html"><img src="../../../next.png" alt="Next"></a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,54 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>basic_socket_iostream::time_point</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="../basic_socket_iostream.html" title="basic_socket_iostream">
|
||||
<link rel="prev" href="socket.html" title="basic_socket_iostream::socket">
|
||||
<link rel="next" href="time_type.html" title="basic_socket_iostream::time_type">
|
||||
</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="socket.html"><img src="../../../prev.png" alt="Prev"></a><a accesskey="u" href="../basic_socket_iostream.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="time_type.html"><img src="../../../next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="section">
|
||||
<div class="titlepage"><div><div><h4 class="title">
|
||||
<a name="asio.reference.basic_socket_iostream.time_point"></a><a class="link" href="time_point.html" title="basic_socket_iostream::time_point">basic_socket_iostream::time_point</a>
|
||||
</h4></div></div></div>
|
||||
<p>
|
||||
<a class="indexterm" name="asio.indexterm.basic_socket_iostream.time_point"></a>
|
||||
The
|
||||
time type.
|
||||
</p>
|
||||
<pre class="programlisting">typedef WaitTraits::time_point time_point;
|
||||
</pre>
|
||||
<h6>
|
||||
<a name="asio.reference.basic_socket_iostream.time_point.h0"></a>
|
||||
<span><a name="asio.reference.basic_socket_iostream.time_point.requirements"></a></span><a class="link" href="time_point.html#asio.reference.basic_socket_iostream.time_point.requirements">Requirements</a>
|
||||
</h6>
|
||||
<p>
|
||||
<span class="emphasis"><em>Header: </em></span><code class="literal">asio/basic_socket_iostream.hpp</code>
|
||||
</p>
|
||||
<p>
|
||||
<span class="emphasis"><em>Convenience header: </em></span><code class="literal">asio.hpp</code>
|
||||
</p>
|
||||
</div>
|
||||
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
|
||||
<td align="left"></td>
|
||||
<td align="right"><div class="copyright-footer">Copyright © 2003-2020 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></td>
|
||||
</tr></table>
|
||||
<hr>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="socket.html"><img src="../../../prev.png" alt="Prev"></a><a accesskey="u" href="../basic_socket_iostream.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="time_type.html"><img src="../../../next.png" alt="Next"></a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,54 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>basic_socket_iostream::time_type</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="../basic_socket_iostream.html" title="basic_socket_iostream">
|
||||
<link rel="prev" href="time_point.html" title="basic_socket_iostream::time_point">
|
||||
<link rel="next" href="../basic_socket_streambuf.html" title="basic_socket_streambuf">
|
||||
</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="time_point.html"><img src="../../../prev.png" alt="Prev"></a><a accesskey="u" href="../basic_socket_iostream.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="../basic_socket_streambuf.html"><img src="../../../next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="section">
|
||||
<div class="titlepage"><div><div><h4 class="title">
|
||||
<a name="asio.reference.basic_socket_iostream.time_type"></a><a class="link" href="time_type.html" title="basic_socket_iostream::time_type">basic_socket_iostream::time_type</a>
|
||||
</h4></div></div></div>
|
||||
<p>
|
||||
<a class="indexterm" name="asio.indexterm.basic_socket_iostream.time_type"></a>
|
||||
(Deprecated:
|
||||
Use time_point.) The time type.
|
||||
</p>
|
||||
<pre class="programlisting">typedef WaitTraits::time_type time_type;
|
||||
</pre>
|
||||
<h6>
|
||||
<a name="asio.reference.basic_socket_iostream.time_type.h0"></a>
|
||||
<span><a name="asio.reference.basic_socket_iostream.time_type.requirements"></a></span><a class="link" href="time_type.html#asio.reference.basic_socket_iostream.time_type.requirements">Requirements</a>
|
||||
</h6>
|
||||
<p>
|
||||
<span class="emphasis"><em>Header: </em></span><code class="literal">asio/basic_socket_iostream.hpp</code>
|
||||
</p>
|
||||
<p>
|
||||
<span class="emphasis"><em>Convenience header: </em></span><code class="literal">asio.hpp</code>
|
||||
</p>
|
||||
</div>
|
||||
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
|
||||
<td align="left"></td>
|
||||
<td align="right"><div class="copyright-footer">Copyright © 2003-2020 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></td>
|
||||
</tr></table>
|
||||
<hr>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="time_point.html"><img src="../../../prev.png" alt="Prev"></a><a accesskey="u" href="../basic_socket_iostream.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="../basic_socket_streambuf.html"><img src="../../../next.png" alt="Next"></a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in new issue
Block a user