3 <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
4 <title>basic_stream_socket::lowest_layer_type</title>
5 <link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css">
6 <meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
7 <link rel="home" href="../../../boost_asio.html" title="Boost.Asio">
8 <link rel="up" href="../basic_stream_socket.html" title="basic_stream_socket">
9 <link rel="prev" href="lowest_layer/overload2.html" title="basic_stream_socket::lowest_layer (2 of 2 overloads)">
10 <link rel="next" href="max_connections.html" title="basic_stream_socket::max_connections">
12 <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
13 <table cellpadding="2" width="100%"><tr>
14 <td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../boost.png"></td>
15 <td align="center"><a href="../../../../../index.html">Home</a></td>
16 <td align="center"><a href="../../../../../libs/libraries.htm">Libraries</a></td>
17 <td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
18 <td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
19 <td align="center"><a href="../../../../../more/index.htm">More</a></td>
22 <div class="spirit-nav">
23 <a accesskey="p" href="lowest_layer/overload2.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../basic_stream_socket.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="max_connections.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
26 <div class="titlepage"><div><div><h4 class="title">
27 <a name="boost_asio.reference.basic_stream_socket.lowest_layer_type"></a><a class="link" href="lowest_layer_type.html" title="basic_stream_socket::lowest_layer_type">basic_stream_socket::lowest_layer_type</a>
28 </h4></div></div></div>
30 <span class="emphasis"><em>Inherited from basic_socket.</em></span>
33 <a class="indexterm" name="idp127559072"></a>
34 A <a class="link" href="../basic_socket.html" title="basic_socket"><code class="computeroutput"><span class="identifier">basic_socket</span></code></a> is always the lowest
37 <pre class="programlisting"><span class="keyword">typedef</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> <span class="identifier">lowest_layer_type</span><span class="special">;</span>
40 <a name="boost_asio.reference.basic_stream_socket.lowest_layer_type.h0"></a>
41 <span class="phrase"><a name="boost_asio.reference.basic_stream_socket.lowest_layer_type.types"></a></span><a class="link" href="lowest_layer_type.html#boost_asio.reference.basic_stream_socket.lowest_layer_type.types">Types</a>
43 <div class="informaltable"><table class="table">
64 <a class="link" href="../basic_socket/broadcast.html" title="basic_socket::broadcast"><span class="bold"><strong>broadcast</strong></span></a>
69 Socket option to permit sending of broadcast messages.
76 <a class="link" href="../basic_socket/bytes_readable.html" title="basic_socket::bytes_readable"><span class="bold"><strong>bytes_readable</strong></span></a>
81 IO control command to get the amount of data that can be read
89 <a class="link" href="../basic_socket/debug.html" title="basic_socket::debug"><span class="bold"><strong>debug</strong></span></a>
94 Socket option to enable socket-level debugging.
101 <a class="link" href="../basic_socket/do_not_route.html" title="basic_socket::do_not_route"><span class="bold"><strong>do_not_route</strong></span></a>
106 Socket option to prevent routing, use local interfaces only.
113 <a class="link" href="../basic_socket/enable_connection_aborted.html" title="basic_socket::enable_connection_aborted"><span class="bold"><strong>enable_connection_aborted</strong></span></a>
118 Socket option to report aborted connections on accept.
125 <a class="link" href="../basic_socket/endpoint_type.html" title="basic_socket::endpoint_type"><span class="bold"><strong>endpoint_type</strong></span></a>
137 <a class="link" href="../basic_socket/implementation_type.html" title="basic_socket::implementation_type"><span class="bold"><strong>implementation_type</strong></span></a>
142 The underlying implementation type of I/O object.
149 <a class="link" href="../basic_socket/keep_alive.html" title="basic_socket::keep_alive"><span class="bold"><strong>keep_alive</strong></span></a>
154 Socket option to send keep-alives.
161 <a class="link" href="../basic_socket/linger.html" title="basic_socket::linger"><span class="bold"><strong>linger</strong></span></a>
166 Socket option to specify whether the socket lingers on close
167 if unsent data is present.
174 <a class="link" href="../basic_socket/lowest_layer_type.html" title="basic_socket::lowest_layer_type"><span class="bold"><strong>lowest_layer_type</strong></span></a>
179 A basic_socket is always the lowest layer.
186 <a class="link" href="../basic_socket/message_flags.html" title="basic_socket::message_flags"><span class="bold"><strong>message_flags</strong></span></a>
191 Bitmask type for flags that can be passed to send and receive
199 <a class="link" href="../basic_socket/native_handle_type.html" title="basic_socket::native_handle_type"><span class="bold"><strong>native_handle_type</strong></span></a>
204 The native representation of a socket.
211 <a class="link" href="../basic_socket/native_type.html" title="basic_socket::native_type"><span class="bold"><strong>native_type</strong></span></a>
216 (Deprecated: Use native_handle_type.) The native representation
224 <a class="link" href="../basic_socket/non_blocking_io.html" title="basic_socket::non_blocking_io"><span class="bold"><strong>non_blocking_io</strong></span></a>
229 (Deprecated: Use non_blocking().) IO control command to set the
230 blocking mode of the socket.
237 <a class="link" href="../basic_socket/protocol_type.html" title="basic_socket::protocol_type"><span class="bold"><strong>protocol_type</strong></span></a>
249 <a class="link" href="../basic_socket/receive_buffer_size.html" title="basic_socket::receive_buffer_size"><span class="bold"><strong>receive_buffer_size</strong></span></a>
254 Socket option for the receive buffer size of a socket.
261 <a class="link" href="../basic_socket/receive_low_watermark.html" title="basic_socket::receive_low_watermark"><span class="bold"><strong>receive_low_watermark</strong></span></a>
266 Socket option for the receive low watermark.
273 <a class="link" href="../basic_socket/reuse_address.html" title="basic_socket::reuse_address"><span class="bold"><strong>reuse_address</strong></span></a>
278 Socket option to allow the socket to be bound to an address that
286 <a class="link" href="../basic_socket/send_buffer_size.html" title="basic_socket::send_buffer_size"><span class="bold"><strong>send_buffer_size</strong></span></a>
291 Socket option for the send buffer size of a socket.
298 <a class="link" href="../basic_socket/send_low_watermark.html" title="basic_socket::send_low_watermark"><span class="bold"><strong>send_low_watermark</strong></span></a>
303 Socket option for the send low watermark.
310 <a class="link" href="../basic_socket/service_type.html" title="basic_socket::service_type"><span class="bold"><strong>service_type</strong></span></a>
315 The type of the service that will be used to provide I/O operations.
322 <a class="link" href="../basic_socket/shutdown_type.html" title="basic_socket::shutdown_type"><span class="bold"><strong>shutdown_type</strong></span></a>
327 Different ways a socket may be shutdown.
334 <a name="boost_asio.reference.basic_stream_socket.lowest_layer_type.h1"></a>
335 <span class="phrase"><a name="boost_asio.reference.basic_stream_socket.lowest_layer_type.member_functions"></a></span><a class="link" href="lowest_layer_type.html#boost_asio.reference.basic_stream_socket.lowest_layer_type.member_functions">Member
338 <div class="informaltable"><table class="table">
359 <a class="link" href="../basic_socket/assign.html" title="basic_socket::assign"><span class="bold"><strong>assign</strong></span></a>
364 Assign an existing native socket to the socket.
371 <a class="link" href="../basic_socket/async_connect.html" title="basic_socket::async_connect"><span class="bold"><strong>async_connect</strong></span></a>
376 Start an asynchronous connect.
383 <a class="link" href="../basic_socket/at_mark.html" title="basic_socket::at_mark"><span class="bold"><strong>at_mark</strong></span></a>
388 Determine whether the socket is at the out-of-band data mark.
395 <a class="link" href="../basic_socket/available.html" title="basic_socket::available"><span class="bold"><strong>available</strong></span></a>
400 Determine the number of bytes available for reading.
407 <a class="link" href="../basic_socket/basic_socket.html" title="basic_socket::basic_socket"><span class="bold"><strong>basic_socket</strong></span></a>
412 Construct a basic_socket without opening it.
415 Construct and open a basic_socket.
418 Construct a basic_socket, opening it and binding it to the given
422 Construct a basic_socket on an existing native socket.
425 Move-construct a basic_socket from another.
428 Move-construct a basic_socket from a socket of another protocol
436 <a class="link" href="../basic_socket/bind.html" title="basic_socket::bind"><span class="bold"><strong>bind</strong></span></a>
441 Bind the socket to the given local endpoint.
448 <a class="link" href="../basic_socket/cancel.html" title="basic_socket::cancel"><span class="bold"><strong>cancel</strong></span></a>
453 Cancel all asynchronous operations associated with the socket.
460 <a class="link" href="../basic_socket/close.html" title="basic_socket::close"><span class="bold"><strong>close</strong></span></a>
472 <a class="link" href="../basic_socket/connect.html" title="basic_socket::connect"><span class="bold"><strong>connect</strong></span></a>
477 Connect the socket to the specified endpoint.
484 <a class="link" href="../basic_socket/get_io_service.html" title="basic_socket::get_io_service"><span class="bold"><strong>get_io_service</strong></span></a>
489 Get the io_service associated with the object.
496 <a class="link" href="../basic_socket/get_option.html" title="basic_socket::get_option"><span class="bold"><strong>get_option</strong></span></a>
501 Get an option from the socket.
508 <a class="link" href="../basic_socket/io_control.html" title="basic_socket::io_control"><span class="bold"><strong>io_control</strong></span></a>
513 Perform an IO control command on the socket.
520 <a class="link" href="../basic_socket/is_open.html" title="basic_socket::is_open"><span class="bold"><strong>is_open</strong></span></a>
525 Determine whether the socket is open.
532 <a class="link" href="../basic_socket/local_endpoint.html" title="basic_socket::local_endpoint"><span class="bold"><strong>local_endpoint</strong></span></a>
537 Get the local endpoint of the socket.
544 <a class="link" href="../basic_socket/lowest_layer.html" title="basic_socket::lowest_layer"><span class="bold"><strong>lowest_layer</strong></span></a>
549 Get a reference to the lowest layer.
552 Get a const reference to the lowest layer.
559 <a class="link" href="../basic_socket/native.html" title="basic_socket::native"><span class="bold"><strong>native</strong></span></a>
564 (Deprecated: Use native_handle().) Get the native socket representation.
571 <a class="link" href="../basic_socket/native_handle.html" title="basic_socket::native_handle"><span class="bold"><strong>native_handle</strong></span></a>
576 Get the native socket representation.
583 <a class="link" href="../basic_socket/native_non_blocking.html" title="basic_socket::native_non_blocking"><span class="bold"><strong>native_non_blocking</strong></span></a>
588 Gets the non-blocking mode of the native socket implementation.
591 Sets the non-blocking mode of the native socket implementation.
598 <a class="link" href="../basic_socket/non_blocking.html" title="basic_socket::non_blocking"><span class="bold"><strong>non_blocking</strong></span></a>
603 Gets the non-blocking mode of the socket.
606 Sets the non-blocking mode of the socket.
613 <a class="link" href="../basic_socket/open.html" title="basic_socket::open"><span class="bold"><strong>open</strong></span></a>
618 Open the socket using the specified protocol.
625 <a class="link" href="../basic_socket/operator_eq_.html" title="basic_socket::operator="><span class="bold"><strong>operator=</strong></span></a>
630 Move-assign a basic_socket from another.
633 Move-assign a basic_socket from a socket of another protocol
641 <a class="link" href="../basic_socket/remote_endpoint.html" title="basic_socket::remote_endpoint"><span class="bold"><strong>remote_endpoint</strong></span></a>
646 Get the remote endpoint of the socket.
653 <a class="link" href="../basic_socket/set_option.html" title="basic_socket::set_option"><span class="bold"><strong>set_option</strong></span></a>
658 Set an option on the socket.
665 <a class="link" href="../basic_socket/shutdown.html" title="basic_socket::shutdown"><span class="bold"><strong>shutdown</strong></span></a>
670 Disable sends or receives on the socket.
677 <a name="boost_asio.reference.basic_stream_socket.lowest_layer_type.h2"></a>
678 <span class="phrase"><a name="boost_asio.reference.basic_stream_socket.lowest_layer_type.protected_member_functions"></a></span><a class="link" href="lowest_layer_type.html#boost_asio.reference.basic_stream_socket.lowest_layer_type.protected_member_functions">Protected
681 <div class="informaltable"><table class="table">
702 <a class="link" href="../basic_socket/get_implementation.html" title="basic_socket::get_implementation"><span class="bold"><strong>get_implementation</strong></span></a>
707 Get the underlying implementation of the I/O object.
714 <a class="link" href="../basic_socket/get_service.html" title="basic_socket::get_service"><span class="bold"><strong>get_service</strong></span></a>
719 Get the service associated with the I/O object.
726 <a class="link" href="../basic_socket/_basic_socket.html" title="basic_socket::~basic_socket"><span class="bold"><strong>~basic_socket</strong></span></a>
731 Protected destructor to prevent deletion through this type.
738 <a name="boost_asio.reference.basic_stream_socket.lowest_layer_type.h3"></a>
739 <span class="phrase"><a name="boost_asio.reference.basic_stream_socket.lowest_layer_type.data_members"></a></span><a class="link" href="lowest_layer_type.html#boost_asio.reference.basic_stream_socket.lowest_layer_type.data_members">Data
742 <div class="informaltable"><table class="table">
763 <a class="link" href="../basic_socket/max_connections.html" title="basic_socket::max_connections"><span class="bold"><strong>max_connections</strong></span></a>
768 The maximum length of the queue of pending incoming connections.
775 <a class="link" href="../basic_socket/message_do_not_route.html" title="basic_socket::message_do_not_route"><span class="bold"><strong>message_do_not_route</strong></span></a>
780 Specify that the data should not be subject to routing.
787 <a class="link" href="../basic_socket/message_end_of_record.html" title="basic_socket::message_end_of_record"><span class="bold"><strong>message_end_of_record</strong></span></a>
792 Specifies that the data marks the end of a record.
799 <a class="link" href="../basic_socket/message_out_of_band.html" title="basic_socket::message_out_of_band"><span class="bold"><strong>message_out_of_band</strong></span></a>
804 Process out-of-band data.
811 <a class="link" href="../basic_socket/message_peek.html" title="basic_socket::message_peek"><span class="bold"><strong>message_peek</strong></span></a>
816 Peek at incoming data without removing it from the input queue.
823 <a name="boost_asio.reference.basic_stream_socket.lowest_layer_type.h4"></a>
824 <span class="phrase"><a name="boost_asio.reference.basic_stream_socket.lowest_layer_type.protected_data_members"></a></span><a class="link" href="lowest_layer_type.html#boost_asio.reference.basic_stream_socket.lowest_layer_type.protected_data_members">Protected
827 <div class="informaltable"><table class="table">
848 <a class="link" href="../basic_socket/implementation.html" title="basic_socket::implementation"><span class="bold"><strong>implementation</strong></span></a>
853 (Deprecated: Use get_implementation().) The underlying implementation
861 <a class="link" href="../basic_socket/service.html" title="basic_socket::service"><span class="bold"><strong>service</strong></span></a>
866 (Deprecated: Use get_service().) The service associated with
874 The <a class="link" href="../basic_socket.html" title="basic_socket"><code class="computeroutput"><span class="identifier">basic_socket</span></code></a>
875 class template provides functionality that is common to both stream-oriented
876 and datagram-oriented sockets.
879 <a name="boost_asio.reference.basic_stream_socket.lowest_layer_type.h5"></a>
880 <span class="phrase"><a name="boost_asio.reference.basic_stream_socket.lowest_layer_type.thread_safety"></a></span><a class="link" href="lowest_layer_type.html#boost_asio.reference.basic_stream_socket.lowest_layer_type.thread_safety">Thread
884 <span class="emphasis"><em>Distinct</em></span> <span class="emphasis"><em>objects:</em></span> Safe.
887 <span class="emphasis"><em>Shared</em></span> <span class="emphasis"><em>objects:</em></span> Unsafe.
890 <a name="boost_asio.reference.basic_stream_socket.lowest_layer_type.h6"></a>
891 <span class="phrase"><a name="boost_asio.reference.basic_stream_socket.lowest_layer_type.requirements"></a></span><a class="link" href="lowest_layer_type.html#boost_asio.reference.basic_stream_socket.lowest_layer_type.requirements">Requirements</a>
894 <span class="emphasis"><em>Header: </em></span><code class="literal">boost/asio/basic_stream_socket.hpp</code>
897 <span class="emphasis"><em>Convenience header: </em></span><code class="literal">boost/asio.hpp</code>
900 <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
901 <td align="left"></td>
902 <td align="right"><div class="copyright-footer">Copyright © 2003-2017 Christopher M. Kohlhoff<p>
903 Distributed under the Boost Software License, Version 1.0. (See accompanying
904 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>)
909 <div class="spirit-nav">
910 <a accesskey="p" href="lowest_layer/overload2.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../basic_stream_socket.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="max_connections.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>