| <html> |
| <head> |
| <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> |
| <title>basic_socket_streambuf</title> |
| <link rel="stylesheet" href="../../../../doc/src/boostbook.css" type="text/css"> |
| <meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> |
| <link rel="home" href="../../boost_asio.html" title="Boost.Asio"> |
| <link rel="up" href="../reference.html" title="Reference"> |
| <link rel="prev" href="basic_socket_iostream/time_type.html" title="basic_socket_iostream::time_type"> |
| <link rel="next" href="basic_socket_streambuf/assign.html" title="basic_socket_streambuf::assign"> |
| </head> |
| <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> |
| <table cellpadding="2" width="100%"><tr> |
| <td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../boost.png"></td> |
| <td align="center"><a href="../../../../index.html">Home</a></td> |
| <td align="center"><a href="../../../../libs/libraries.htm">Libraries</a></td> |
| <td align="center"><a href="http://www.boost.org/users/people.html">People</a></td> |
| <td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td> |
| <td align="center"><a href="../../../../more/index.htm">More</a></td> |
| </tr></table> |
| <hr> |
| <div class="spirit-nav"> |
| <a accesskey="p" href="basic_socket_iostream/time_type.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../reference.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../boost_asio.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="basic_socket_streambuf/assign.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a> |
| </div> |
| <div class="section"> |
| <div class="titlepage"><div><div><h3 class="title"> |
| <a name="boost_asio.reference.basic_socket_streambuf"></a><a class="link" href="basic_socket_streambuf.html" title="basic_socket_streambuf">basic_socket_streambuf</a> |
| </h3></div></div></div> |
| <p> |
| Iostream streambuf for a socket. |
| </p> |
| <pre class="programlisting"><span class="keyword">template</span><span class="special"><</span> |
| <span class="keyword">typename</span> <a class="link" href="Protocol.html" title="Protocol requirements">Protocol</a><span class="special">,</span> |
| <span class="keyword">typename</span> <a class="link" href="StreamSocketService.html" title="Stream socket service requirements">StreamSocketService</a> <span class="special">=</span> <span class="identifier">stream_socket_service</span><span class="special"><</span><span class="identifier">Protocol</span><span class="special">>,</span> |
| <span class="keyword">typename</span> <span class="identifier">Time</span> <span class="special">=</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">posix_time</span><span class="special">::</span><span class="identifier">ptime</span><span class="special">,</span> |
| <span class="keyword">typename</span> <a class="link" href="TimeTraits.html" title="Time traits requirements">TimeTraits</a> <span class="special">=</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">asio</span><span class="special">::</span><span class="identifier">time_traits</span><span class="special"><</span><span class="identifier">Time</span><span class="special">>,</span> |
| <span class="keyword">typename</span> <a class="link" href="TimerService.html" title="Timer service requirements">TimerService</a> <span class="special">=</span> <span class="identifier">deadline_timer_service</span><span class="special"><</span><span class="identifier">Time</span><span class="special">,</span> <span class="identifier">TimeTraits</span><span class="special">>></span> |
| <span class="keyword">class</span> <span class="identifier">basic_socket_streambuf</span> <span class="special">:</span> |
| <span class="keyword">public</span> <span class="identifier">basic_socket</span><span class="special"><</span> <span class="identifier">Protocol</span><span class="special">,</span> <span class="identifier">StreamSocketService</span> <span class="special">></span> |
| </pre> |
| <a name="boost_asio.reference.basic_socket_streambuf.types"></a><h5> |
| <a name="boost_asio.reference.basic_socket_streambuf.types-heading"></a> |
| <a class="link" href="basic_socket_streambuf.html#boost_asio.reference.basic_socket_streambuf.types">Types</a> |
| </h5> |
| <div class="informaltable"><table class="table"> |
| <colgroup> |
| <col> |
| <col> |
| </colgroup> |
| <thead><tr> |
| <th> |
| <p> |
| Name |
| </p> |
| </th> |
| <th> |
| <p> |
| Description |
| </p> |
| </th> |
| </tr></thead> |
| <tbody> |
| <tr> |
| <td> |
| <p> |
| <a class="link" href="basic_socket_streambuf/broadcast.html" title="basic_socket_streambuf::broadcast"><span class="bold"><strong>broadcast</strong></span></a> |
| </p> |
| </td> |
| <td> |
| <p> |
| Socket option to permit sending of broadcast messages. |
| </p> |
| </td> |
| </tr> |
| <tr> |
| <td> |
| <p> |
| <a class="link" href="basic_socket_streambuf/bytes_readable.html" title="basic_socket_streambuf::bytes_readable"><span class="bold"><strong>bytes_readable</strong></span></a> |
| </p> |
| </td> |
| <td> |
| <p> |
| IO control command to get the amount of data that can be read without |
| blocking. |
| </p> |
| </td> |
| </tr> |
| <tr> |
| <td> |
| <p> |
| <a class="link" href="basic_socket_streambuf/debug.html" title="basic_socket_streambuf::debug"><span class="bold"><strong>debug</strong></span></a> |
| </p> |
| </td> |
| <td> |
| <p> |
| Socket option to enable socket-level debugging. |
| </p> |
| </td> |
| </tr> |
| <tr> |
| <td> |
| <p> |
| <a class="link" href="basic_socket_streambuf/do_not_route.html" title="basic_socket_streambuf::do_not_route"><span class="bold"><strong>do_not_route</strong></span></a> |
| </p> |
| </td> |
| <td> |
| <p> |
| Socket option to prevent routing, use local interfaces only. |
| </p> |
| </td> |
| </tr> |
| <tr> |
| <td> |
| <p> |
| <a class="link" href="basic_socket_streambuf/duration_type.html" title="basic_socket_streambuf::duration_type"><span class="bold"><strong>duration_type</strong></span></a> |
| </p> |
| </td> |
| <td> |
| <p> |
| The duration type. |
| </p> |
| </td> |
| </tr> |
| <tr> |
| <td> |
| <p> |
| <a class="link" href="basic_socket_streambuf/enable_connection_aborted.html" title="basic_socket_streambuf::enable_connection_aborted"><span class="bold"><strong>enable_connection_aborted</strong></span></a> |
| </p> |
| </td> |
| <td> |
| <p> |
| Socket option to report aborted connections on accept. |
| </p> |
| </td> |
| </tr> |
| <tr> |
| <td> |
| <p> |
| <a class="link" href="basic_socket_streambuf/endpoint_type.html" title="basic_socket_streambuf::endpoint_type"><span class="bold"><strong>endpoint_type</strong></span></a> |
| </p> |
| </td> |
| <td> |
| <p> |
| The endpoint type. |
| </p> |
| </td> |
| </tr> |
| <tr> |
| <td> |
| <p> |
| <a class="link" href="basic_socket_streambuf/implementation_type.html" title="basic_socket_streambuf::implementation_type"><span class="bold"><strong>implementation_type</strong></span></a> |
| </p> |
| </td> |
| <td> |
| <p> |
| The underlying implementation type of I/O object. |
| </p> |
| </td> |
| </tr> |
| <tr> |
| <td> |
| <p> |
| <a class="link" href="basic_socket_streambuf/keep_alive.html" title="basic_socket_streambuf::keep_alive"><span class="bold"><strong>keep_alive</strong></span></a> |
| </p> |
| </td> |
| <td> |
| <p> |
| Socket option to send keep-alives. |
| </p> |
| </td> |
| </tr> |
| <tr> |
| <td> |
| <p> |
| <a class="link" href="basic_socket_streambuf/linger.html" title="basic_socket_streambuf::linger"><span class="bold"><strong>linger</strong></span></a> |
| </p> |
| </td> |
| <td> |
| <p> |
| Socket option to specify whether the socket lingers on close if |
| unsent data is present. |
| </p> |
| </td> |
| </tr> |
| <tr> |
| <td> |
| <p> |
| <a class="link" href="basic_socket_streambuf/lowest_layer_type.html" title="basic_socket_streambuf::lowest_layer_type"><span class="bold"><strong>lowest_layer_type</strong></span></a> |
| </p> |
| </td> |
| <td> |
| <p> |
| A basic_socket is always the lowest layer. |
| </p> |
| </td> |
| </tr> |
| <tr> |
| <td> |
| <p> |
| <a class="link" href="basic_socket_streambuf/message_flags.html" title="basic_socket_streambuf::message_flags"><span class="bold"><strong>message_flags</strong></span></a> |
| </p> |
| </td> |
| <td> |
| <p> |
| Bitmask type for flags that can be passed to send and receive operations. |
| </p> |
| </td> |
| </tr> |
| <tr> |
| <td> |
| <p> |
| <a class="link" href="basic_socket_streambuf/native_handle_type.html" title="basic_socket_streambuf::native_handle_type"><span class="bold"><strong>native_handle_type</strong></span></a> |
| </p> |
| </td> |
| <td> |
| <p> |
| The native representation of a socket. |
| </p> |
| </td> |
| </tr> |
| <tr> |
| <td> |
| <p> |
| <a class="link" href="basic_socket_streambuf/native_type.html" title="basic_socket_streambuf::native_type"><span class="bold"><strong>native_type</strong></span></a> |
| </p> |
| </td> |
| <td> |
| <p> |
| (Deprecated: Use native_handle_type.) The native representation |
| of a socket. |
| </p> |
| </td> |
| </tr> |
| <tr> |
| <td> |
| <p> |
| <a class="link" href="basic_socket_streambuf/non_blocking_io.html" title="basic_socket_streambuf::non_blocking_io"><span class="bold"><strong>non_blocking_io</strong></span></a> |
| </p> |
| </td> |
| <td> |
| <p> |
| (Deprecated: Use non_blocking().) IO control command to set the |
| blocking mode of the socket. |
| </p> |
| </td> |
| </tr> |
| <tr> |
| <td> |
| <p> |
| <a class="link" href="basic_socket_streambuf/protocol_type.html" title="basic_socket_streambuf::protocol_type"><span class="bold"><strong>protocol_type</strong></span></a> |
| </p> |
| </td> |
| <td> |
| <p> |
| The protocol type. |
| </p> |
| </td> |
| </tr> |
| <tr> |
| <td> |
| <p> |
| <a class="link" href="basic_socket_streambuf/receive_buffer_size.html" title="basic_socket_streambuf::receive_buffer_size"><span class="bold"><strong>receive_buffer_size</strong></span></a> |
| </p> |
| </td> |
| <td> |
| <p> |
| Socket option for the receive buffer size of a socket. |
| </p> |
| </td> |
| </tr> |
| <tr> |
| <td> |
| <p> |
| <a class="link" href="basic_socket_streambuf/receive_low_watermark.html" title="basic_socket_streambuf::receive_low_watermark"><span class="bold"><strong>receive_low_watermark</strong></span></a> |
| </p> |
| </td> |
| <td> |
| <p> |
| Socket option for the receive low watermark. |
| </p> |
| </td> |
| </tr> |
| <tr> |
| <td> |
| <p> |
| <a class="link" href="basic_socket_streambuf/reuse_address.html" title="basic_socket_streambuf::reuse_address"><span class="bold"><strong>reuse_address</strong></span></a> |
| </p> |
| </td> |
| <td> |
| <p> |
| Socket option to allow the socket to be bound to an address that |
| is already in use. |
| </p> |
| </td> |
| </tr> |
| <tr> |
| <td> |
| <p> |
| <a class="link" href="basic_socket_streambuf/send_buffer_size.html" title="basic_socket_streambuf::send_buffer_size"><span class="bold"><strong>send_buffer_size</strong></span></a> |
| </p> |
| </td> |
| <td> |
| <p> |
| Socket option for the send buffer size of a socket. |
| </p> |
| </td> |
| </tr> |
| <tr> |
| <td> |
| <p> |
| <a class="link" href="basic_socket_streambuf/send_low_watermark.html" title="basic_socket_streambuf::send_low_watermark"><span class="bold"><strong>send_low_watermark</strong></span></a> |
| </p> |
| </td> |
| <td> |
| <p> |
| Socket option for the send low watermark. |
| </p> |
| </td> |
| </tr> |
| <tr> |
| <td> |
| <p> |
| <a class="link" href="basic_socket_streambuf/service_type.html" title="basic_socket_streambuf::service_type"><span class="bold"><strong>service_type</strong></span></a> |
| </p> |
| </td> |
| <td> |
| <p> |
| The type of the service that will be used to provide I/O operations. |
| </p> |
| </td> |
| </tr> |
| <tr> |
| <td> |
| <p> |
| <a class="link" href="basic_socket_streambuf/shutdown_type.html" title="basic_socket_streambuf::shutdown_type"><span class="bold"><strong>shutdown_type</strong></span></a> |
| </p> |
| </td> |
| <td> |
| <p> |
| Different ways a socket may be shutdown. |
| </p> |
| </td> |
| </tr> |
| <tr> |
| <td> |
| <p> |
| <a class="link" href="basic_socket_streambuf/time_type.html" title="basic_socket_streambuf::time_type"><span class="bold"><strong>time_type</strong></span></a> |
| </p> |
| </td> |
| <td> |
| <p> |
| The time type. |
| </p> |
| </td> |
| </tr> |
| </tbody> |
| </table></div> |
| <a name="boost_asio.reference.basic_socket_streambuf.member_functions"></a><h5> |
| <a name="boost_asio.reference.basic_socket_streambuf.member_functions-heading"></a> |
| <a class="link" href="basic_socket_streambuf.html#boost_asio.reference.basic_socket_streambuf.member_functions">Member |
| Functions</a> |
| </h5> |
| <div class="informaltable"><table class="table"> |
| <colgroup> |
| <col> |
| <col> |
| </colgroup> |
| <thead><tr> |
| <th> |
| <p> |
| Name |
| </p> |
| </th> |
| <th> |
| <p> |
| Description |
| </p> |
| </th> |
| </tr></thead> |
| <tbody> |
| <tr> |
| <td> |
| <p> |
| <a class="link" href="basic_socket_streambuf/assign.html" title="basic_socket_streambuf::assign"><span class="bold"><strong>assign</strong></span></a> |
| </p> |
| </td> |
| <td> |
| <p> |
| Assign an existing native socket to the socket. |
| </p> |
| </td> |
| </tr> |
| <tr> |
| <td> |
| <p> |
| <a class="link" href="basic_socket_streambuf/async_connect.html" title="basic_socket_streambuf::async_connect"><span class="bold"><strong>async_connect</strong></span></a> |
| </p> |
| </td> |
| <td> |
| <p> |
| Start an asynchronous connect. |
| </p> |
| </td> |
| </tr> |
| <tr> |
| <td> |
| <p> |
| <a class="link" href="basic_socket_streambuf/at_mark.html" title="basic_socket_streambuf::at_mark"><span class="bold"><strong>at_mark</strong></span></a> |
| </p> |
| </td> |
| <td> |
| <p> |
| Determine whether the socket is at the out-of-band data mark. |
| </p> |
| </td> |
| </tr> |
| <tr> |
| <td> |
| <p> |
| <a class="link" href="basic_socket_streambuf/available.html" title="basic_socket_streambuf::available"><span class="bold"><strong>available</strong></span></a> |
| </p> |
| </td> |
| <td> |
| <p> |
| Determine the number of bytes available for reading. |
| </p> |
| </td> |
| </tr> |
| <tr> |
| <td> |
| <p> |
| <a class="link" href="basic_socket_streambuf/basic_socket_streambuf.html" title="basic_socket_streambuf::basic_socket_streambuf"><span class="bold"><strong>basic_socket_streambuf</strong></span></a> |
| </p> |
| </td> |
| <td> |
| <p> |
| Construct a basic_socket_streambuf without establishing a connection. |
| </p> |
| </td> |
| </tr> |
| <tr> |
| <td> |
| <p> |
| <a class="link" href="basic_socket_streambuf/bind.html" title="basic_socket_streambuf::bind"><span class="bold"><strong>bind</strong></span></a> |
| </p> |
| </td> |
| <td> |
| <p> |
| Bind the socket to the given local endpoint. |
| </p> |
| </td> |
| </tr> |
| <tr> |
| <td> |
| <p> |
| <a class="link" href="basic_socket_streambuf/cancel.html" title="basic_socket_streambuf::cancel"><span class="bold"><strong>cancel</strong></span></a> |
| </p> |
| </td> |
| <td> |
| <p> |
| Cancel all asynchronous operations associated with the socket. |
| </p> |
| </td> |
| </tr> |
| <tr> |
| <td> |
| <p> |
| <a class="link" href="basic_socket_streambuf/close.html" title="basic_socket_streambuf::close"><span class="bold"><strong>close</strong></span></a> |
| </p> |
| </td> |
| <td> |
| <p> |
| Close the connection. |
| </p> |
| <p> |
| Close the socket. |
| </p> |
| </td> |
| </tr> |
| <tr> |
| <td> |
| <p> |
| <a class="link" href="basic_socket_streambuf/connect.html" title="basic_socket_streambuf::connect"><span class="bold"><strong>connect</strong></span></a> |
| </p> |
| </td> |
| <td> |
| <p> |
| Establish a connection. |
| </p> |
| <p> |
| Connect the socket to the specified endpoint. |
| </p> |
| </td> |
| </tr> |
| <tr> |
| <td> |
| <p> |
| <a class="link" href="basic_socket_streambuf/expires_at.html" title="basic_socket_streambuf::expires_at"><span class="bold"><strong>expires_at</strong></span></a> |
| </p> |
| </td> |
| <td> |
| <p> |
| Get the stream buffer's expiry time as an absolute time. |
| </p> |
| <p> |
| Set the stream buffer's expiry time as an absolute time. |
| </p> |
| </td> |
| </tr> |
| <tr> |
| <td> |
| <p> |
| <a class="link" href="basic_socket_streambuf/expires_from_now.html" title="basic_socket_streambuf::expires_from_now"><span class="bold"><strong>expires_from_now</strong></span></a> |
| </p> |
| </td> |
| <td> |
| <p> |
| Get the stream buffer's expiry time relative to now. |
| </p> |
| <p> |
| Set the stream buffer's expiry time relative to now. |
| </p> |
| </td> |
| </tr> |
| <tr> |
| <td> |
| <p> |
| <a class="link" href="basic_socket_streambuf/get_io_service.html" title="basic_socket_streambuf::get_io_service"><span class="bold"><strong>get_io_service</strong></span></a> |
| </p> |
| </td> |
| <td> |
| <p> |
| Get the io_service associated with the object. |
| </p> |
| </td> |
| </tr> |
| <tr> |
| <td> |
| <p> |
| <a class="link" href="basic_socket_streambuf/get_option.html" title="basic_socket_streambuf::get_option"><span class="bold"><strong>get_option</strong></span></a> |
| </p> |
| </td> |
| <td> |
| <p> |
| Get an option from the socket. |
| </p> |
| </td> |
| </tr> |
| <tr> |
| <td> |
| <p> |
| <a class="link" href="basic_socket_streambuf/io_control.html" title="basic_socket_streambuf::io_control"><span class="bold"><strong>io_control</strong></span></a> |
| </p> |
| </td> |
| <td> |
| <p> |
| Perform an IO control command on the socket. |
| </p> |
| </td> |
| </tr> |
| <tr> |
| <td> |
| <p> |
| <a class="link" href="basic_socket_streambuf/is_open.html" title="basic_socket_streambuf::is_open"><span class="bold"><strong>is_open</strong></span></a> |
| </p> |
| </td> |
| <td> |
| <p> |
| Determine whether the socket is open. |
| </p> |
| </td> |
| </tr> |
| <tr> |
| <td> |
| <p> |
| <a class="link" href="basic_socket_streambuf/local_endpoint.html" title="basic_socket_streambuf::local_endpoint"><span class="bold"><strong>local_endpoint</strong></span></a> |
| </p> |
| </td> |
| <td> |
| <p> |
| Get the local endpoint of the socket. |
| </p> |
| </td> |
| </tr> |
| <tr> |
| <td> |
| <p> |
| <a class="link" href="basic_socket_streambuf/lowest_layer.html" title="basic_socket_streambuf::lowest_layer"><span class="bold"><strong>lowest_layer</strong></span></a> |
| </p> |
| </td> |
| <td> |
| <p> |
| Get a reference to the lowest layer. |
| </p> |
| <p> |
| Get a const reference to the lowest layer. |
| </p> |
| </td> |
| </tr> |
| <tr> |
| <td> |
| <p> |
| <a class="link" href="basic_socket_streambuf/native.html" title="basic_socket_streambuf::native"><span class="bold"><strong>native</strong></span></a> |
| </p> |
| </td> |
| <td> |
| <p> |
| (Deprecated: Use native_handle().) Get the native socket representation. |
| </p> |
| </td> |
| </tr> |
| <tr> |
| <td> |
| <p> |
| <a class="link" href="basic_socket_streambuf/native_handle.html" title="basic_socket_streambuf::native_handle"><span class="bold"><strong>native_handle</strong></span></a> |
| </p> |
| </td> |
| <td> |
| <p> |
| Get the native socket representation. |
| </p> |
| </td> |
| </tr> |
| <tr> |
| <td> |
| <p> |
| <a class="link" href="basic_socket_streambuf/native_non_blocking.html" title="basic_socket_streambuf::native_non_blocking"><span class="bold"><strong>native_non_blocking</strong></span></a> |
| </p> |
| </td> |
| <td> |
| <p> |
| Gets the non-blocking mode of the native socket implementation. |
| </p> |
| <p> |
| Sets the non-blocking mode of the native socket implementation. |
| </p> |
| </td> |
| </tr> |
| <tr> |
| <td> |
| <p> |
| <a class="link" href="basic_socket_streambuf/non_blocking.html" title="basic_socket_streambuf::non_blocking"><span class="bold"><strong>non_blocking</strong></span></a> |
| </p> |
| </td> |
| <td> |
| <p> |
| Gets the non-blocking mode of the socket. |
| </p> |
| <p> |
| Sets the non-blocking mode of the socket. |
| </p> |
| </td> |
| </tr> |
| <tr> |
| <td> |
| <p> |
| <a class="link" href="basic_socket_streambuf/open.html" title="basic_socket_streambuf::open"><span class="bold"><strong>open</strong></span></a> |
| </p> |
| </td> |
| <td> |
| <p> |
| Open the socket using the specified protocol. |
| </p> |
| </td> |
| </tr> |
| <tr> |
| <td> |
| <p> |
| <a class="link" href="basic_socket_streambuf/puberror.html" title="basic_socket_streambuf::puberror"><span class="bold"><strong>puberror</strong></span></a> |
| </p> |
| </td> |
| <td> |
| <p> |
| Get the last error associated with the stream buffer. |
| </p> |
| </td> |
| </tr> |
| <tr> |
| <td> |
| <p> |
| <a class="link" href="basic_socket_streambuf/remote_endpoint.html" title="basic_socket_streambuf::remote_endpoint"><span class="bold"><strong>remote_endpoint</strong></span></a> |
| </p> |
| </td> |
| <td> |
| <p> |
| Get the remote endpoint of the socket. |
| </p> |
| </td> |
| </tr> |
| <tr> |
| <td> |
| <p> |
| <a class="link" href="basic_socket_streambuf/set_option.html" title="basic_socket_streambuf::set_option"><span class="bold"><strong>set_option</strong></span></a> |
| </p> |
| </td> |
| <td> |
| <p> |
| Set an option on the socket. |
| </p> |
| </td> |
| </tr> |
| <tr> |
| <td> |
| <p> |
| <a class="link" href="basic_socket_streambuf/shutdown.html" title="basic_socket_streambuf::shutdown"><span class="bold"><strong>shutdown</strong></span></a> |
| </p> |
| </td> |
| <td> |
| <p> |
| Disable sends or receives on the socket. |
| </p> |
| </td> |
| </tr> |
| <tr> |
| <td> |
| <p> |
| <a class="link" href="basic_socket_streambuf/_basic_socket_streambuf.html" title="basic_socket_streambuf::~basic_socket_streambuf"><span class="bold"><strong>~basic_socket_streambuf</strong></span></a> |
| </p> |
| </td> |
| <td> |
| <p> |
| Destructor flushes buffered data. |
| </p> |
| </td> |
| </tr> |
| </tbody> |
| </table></div> |
| <a name="boost_asio.reference.basic_socket_streambuf.protected_member_functions"></a><h5> |
| <a name="boost_asio.reference.basic_socket_streambuf.protected_member_functions-heading"></a> |
| <a class="link" href="basic_socket_streambuf.html#boost_asio.reference.basic_socket_streambuf.protected_member_functions">Protected |
| Member Functions</a> |
| </h5> |
| <div class="informaltable"><table class="table"> |
| <colgroup> |
| <col> |
| <col> |
| </colgroup> |
| <thead><tr> |
| <th> |
| <p> |
| Name |
| </p> |
| </th> |
| <th> |
| <p> |
| Description |
| </p> |
| </th> |
| </tr></thead> |
| <tbody> |
| <tr> |
| <td> |
| <p> |
| <a class="link" href="basic_socket_streambuf/error.html" title="basic_socket_streambuf::error"><span class="bold"><strong>error</strong></span></a> |
| </p> |
| </td> |
| <td> |
| <p> |
| Get the last error associated with the stream buffer. |
| </p> |
| </td> |
| </tr> |
| <tr> |
| <td> |
| <p> |
| <a class="link" href="basic_socket_streambuf/get_implementation.html" title="basic_socket_streambuf::get_implementation"><span class="bold"><strong>get_implementation</strong></span></a> |
| </p> |
| </td> |
| <td> |
| <p> |
| Get the underlying implementation of the I/O object. |
| </p> |
| </td> |
| </tr> |
| <tr> |
| <td> |
| <p> |
| <a class="link" href="basic_socket_streambuf/get_service.html" title="basic_socket_streambuf::get_service"><span class="bold"><strong>get_service</strong></span></a> |
| </p> |
| </td> |
| <td> |
| <p> |
| Get the service associated with the I/O object. |
| </p> |
| </td> |
| </tr> |
| <tr> |
| <td> |
| <p> |
| <a class="link" href="basic_socket_streambuf/overflow.html" title="basic_socket_streambuf::overflow"><span class="bold"><strong>overflow</strong></span></a> |
| </p> |
| </td> |
| <td> |
| </td> |
| </tr> |
| <tr> |
| <td> |
| <p> |
| <a class="link" href="basic_socket_streambuf/setbuf.html" title="basic_socket_streambuf::setbuf"><span class="bold"><strong>setbuf</strong></span></a> |
| </p> |
| </td> |
| <td> |
| </td> |
| </tr> |
| <tr> |
| <td> |
| <p> |
| <a class="link" href="basic_socket_streambuf/sync.html" title="basic_socket_streambuf::sync"><span class="bold"><strong>sync</strong></span></a> |
| </p> |
| </td> |
| <td> |
| </td> |
| </tr> |
| <tr> |
| <td> |
| <p> |
| <a class="link" href="basic_socket_streambuf/underflow.html" title="basic_socket_streambuf::underflow"><span class="bold"><strong>underflow</strong></span></a> |
| </p> |
| </td> |
| <td> |
| </td> |
| </tr> |
| </tbody> |
| </table></div> |
| <a name="boost_asio.reference.basic_socket_streambuf.data_members"></a><h5> |
| <a name="boost_asio.reference.basic_socket_streambuf.data_members-heading"></a> |
| <a class="link" href="basic_socket_streambuf.html#boost_asio.reference.basic_socket_streambuf.data_members">Data |
| Members</a> |
| </h5> |
| <div class="informaltable"><table class="table"> |
| <colgroup> |
| <col> |
| <col> |
| </colgroup> |
| <thead><tr> |
| <th> |
| <p> |
| Name |
| </p> |
| </th> |
| <th> |
| <p> |
| Description |
| </p> |
| </th> |
| </tr></thead> |
| <tbody> |
| <tr> |
| <td> |
| <p> |
| <a class="link" href="basic_socket_streambuf/max_connections.html" title="basic_socket_streambuf::max_connections"><span class="bold"><strong>max_connections</strong></span></a> |
| </p> |
| </td> |
| <td> |
| <p> |
| The maximum length of the queue of pending incoming connections. |
| </p> |
| </td> |
| </tr> |
| <tr> |
| <td> |
| <p> |
| <a class="link" href="basic_socket_streambuf/message_do_not_route.html" title="basic_socket_streambuf::message_do_not_route"><span class="bold"><strong>message_do_not_route</strong></span></a> |
| </p> |
| </td> |
| <td> |
| <p> |
| Specify that the data should not be subject to routing. |
| </p> |
| </td> |
| </tr> |
| <tr> |
| <td> |
| <p> |
| <a class="link" href="basic_socket_streambuf/message_end_of_record.html" title="basic_socket_streambuf::message_end_of_record"><span class="bold"><strong>message_end_of_record</strong></span></a> |
| </p> |
| </td> |
| <td> |
| <p> |
| Specifies that the data marks the end of a record. |
| </p> |
| </td> |
| </tr> |
| <tr> |
| <td> |
| <p> |
| <a class="link" href="basic_socket_streambuf/message_out_of_band.html" title="basic_socket_streambuf::message_out_of_band"><span class="bold"><strong>message_out_of_band</strong></span></a> |
| </p> |
| </td> |
| <td> |
| <p> |
| Process out-of-band data. |
| </p> |
| </td> |
| </tr> |
| <tr> |
| <td> |
| <p> |
| <a class="link" href="basic_socket_streambuf/message_peek.html" title="basic_socket_streambuf::message_peek"><span class="bold"><strong>message_peek</strong></span></a> |
| </p> |
| </td> |
| <td> |
| <p> |
| Peek at incoming data without removing it from the input queue. |
| </p> |
| </td> |
| </tr> |
| </tbody> |
| </table></div> |
| <a name="boost_asio.reference.basic_socket_streambuf.protected_data_members"></a><h5> |
| <a name="boost_asio.reference.basic_socket_streambuf.protected_data_members-heading"></a> |
| <a class="link" href="basic_socket_streambuf.html#boost_asio.reference.basic_socket_streambuf.protected_data_members">Protected |
| Data Members</a> |
| </h5> |
| <div class="informaltable"><table class="table"> |
| <colgroup> |
| <col> |
| <col> |
| </colgroup> |
| <thead><tr> |
| <th> |
| <p> |
| Name |
| </p> |
| </th> |
| <th> |
| <p> |
| Description |
| </p> |
| </th> |
| </tr></thead> |
| <tbody> |
| <tr> |
| <td> |
| <p> |
| <a class="link" href="basic_socket_streambuf/implementation.html" title="basic_socket_streambuf::implementation"><span class="bold"><strong>implementation</strong></span></a> |
| </p> |
| </td> |
| <td> |
| <p> |
| (Deprecated: Use get_implementation().) The underlying implementation |
| of the I/O object. |
| </p> |
| </td> |
| </tr> |
| <tr> |
| <td> |
| <p> |
| <a class="link" href="basic_socket_streambuf/service.html" title="basic_socket_streambuf::service"><span class="bold"><strong>service</strong></span></a> |
| </p> |
| </td> |
| <td> |
| <p> |
| (Deprecated: Use get_service().) The service associated with the |
| I/O object. |
| </p> |
| </td> |
| </tr> |
| </tbody> |
| </table></div> |
| <a name="boost_asio.reference.basic_socket_streambuf.friends"></a><h5> |
| <a name="boost_asio.reference.basic_socket_streambuf.friends-heading"></a> |
| <a class="link" href="basic_socket_streambuf.html#boost_asio.reference.basic_socket_streambuf.friends">Friends</a> |
| </h5> |
| <div class="informaltable"><table class="table"> |
| <colgroup> |
| <col> |
| <col> |
| </colgroup> |
| <thead><tr> |
| <th> |
| <p> |
| Name |
| </p> |
| </th> |
| <th> |
| <p> |
| Description |
| </p> |
| </th> |
| </tr></thead> |
| <tbody> |
| <tr> |
| <td> |
| <p> |
| <a class="link" href="basic_socket_streambuf/io_handler.html" title="basic_socket_streambuf::io_handler"><span class="bold"><strong>io_handler</strong></span></a> |
| </p> |
| </td> |
| <td> |
| </td> |
| </tr> |
| <tr> |
| <td> |
| <p> |
| <a class="link" href="basic_socket_streambuf/timer_handler.html" title="basic_socket_streambuf::timer_handler"><span class="bold"><strong>timer_handler</strong></span></a> |
| </p> |
| </td> |
| <td> |
| </td> |
| </tr> |
| </tbody> |
| </table></div> |
| <a name="boost_asio.reference.basic_socket_streambuf.requirements"></a><h5> |
| <a name="boost_asio.reference.basic_socket_streambuf.requirements-heading"></a> |
| <a class="link" href="basic_socket_streambuf.html#boost_asio.reference.basic_socket_streambuf.requirements">Requirements</a> |
| </h5> |
| <p> |
| <span class="bold"><strong>Header: </strong></span><code class="literal">boost/asio/basic_socket_streambuf.hpp</code> |
| </p> |
| <p> |
| <span class="bold"><strong>Convenience header: </strong></span><code class="literal">boost/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-2011 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/time_type.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../reference.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../boost_asio.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="basic_socket_streambuf/assign.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a> |
| </div> |
| </body> |
| </html> |