<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>ip::tcp::iostream</title> <link rel="stylesheet" href="../../../boostbook.css" type="text/css"> <meta name="generator" content="DocBook XSL Stylesheets V1.73.2"> <link rel="start" href="../../../index.html" title="Asio"> <link rel="up" href="../ip__tcp.html" title="ip::tcp"> <link rel="prev" href="family.html" title="ip::tcp::family"> <link rel="next" href="no_delay.html" title="ip::tcp::no_delay"> </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="family.html"><img src="../../../prev.png" alt="Prev"></a><a accesskey="u" href="../ip__tcp.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="no_delay.html"><img src="../../../next.png" alt="Next"></a> </div> <div class="section" lang="en"> <div class="titlepage"><div><div><h4 class="title"> <a name="asio.reference.ip__tcp.iostream"></a><a class="link" href="iostream.html" title="ip::tcp::iostream">ip::tcp::iostream</a> </h4></div></div></div> <p> <a class="indexterm" name="id1048951"></a> The TCP iostream type. </p> <pre class="programlisting"><span class="keyword">typedef</span> <span class="identifier">basic_socket_iostream</span><span class="special"><</span> <span class="identifier">tcp</span> <span class="special">></span> <span class="identifier">iostream</span><span class="special">;</span> </pre> <a name="asio.reference.ip__tcp.iostream.member_functions"></a><h6> <a name="id1049011"></a> <a class="link" href="iostream.html#asio.reference.ip__tcp.iostream.member_functions">Member Functions</a> </h6> <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="../basic_socket_iostream/basic_socket_iostream.html" title="basic_socket_iostream::basic_socket_iostream"><span class="bold"><strong>basic_socket_iostream</strong></span></a> </p> </td> <td> <p> Construct a basic_socket_iostream without establishing a connection. </p> <p> Establish a connection to an endpoint corresponding to a resolver query. </p> </td> </tr> <tr> <td> <p> <a class="link" href="../basic_socket_iostream/close.html" title="basic_socket_iostream::close"><span class="bold"><strong>close</strong></span></a> </p> </td> <td> <p> Close the connection. </p> </td> </tr> <tr> <td> <p> <a class="link" href="../basic_socket_iostream/connect.html" title="basic_socket_iostream::connect"><span class="bold"><strong>connect</strong></span></a> </p> </td> <td> <p> Establish a connection to an endpoint corresponding to a resolver query. </p> </td> </tr> <tr> <td> <p> <a class="link" href="../basic_socket_iostream/rdbuf.html" title="basic_socket_iostream::rdbuf"><span class="bold"><strong>rdbuf</strong></span></a> </p> </td> <td> <p> Return a pointer to the underlying streambuf. </p> </td> </tr> </tbody> </table></div> <a name="asio.reference.ip__tcp.iostream.requirements"></a><h6> <a name="id1049179"></a> <a class="link" href="iostream.html#asio.reference.ip__tcp.iostream.requirements">Requirements</a> </h6> <p> <span class="bold"><strong>Header: </strong></span><code class="literal">asio/ip/tcp.hpp</code> </p> <p> <span class="bold"><strong>Convenience header: </strong></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 - 2010 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="family.html"><img src="../../../prev.png" alt="Prev"></a><a accesskey="u" href="../ip__tcp.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="no_delay.html"><img src="../../../next.png" alt="Next"></a> </div> </body> </html>