Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:29:28

0001 //
0002 // Copyright (c) 2016-2019 Vinnie Falco (vinnie dot falco at gmail dot com)
0003 //
0004 // Distributed under the Boost Software License, Version 1.0. (See accompanying
0005 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
0006 //
0007 // Official repository: https://github.com/boostorg/beast
0008 //
0009 
0010 #ifndef BOOST_BEAST_CORE_TCP_STREAM_HPP
0011 #define BOOST_BEAST_CORE_TCP_STREAM_HPP
0012 
0013 #include <boost/beast/core/detail/config.hpp>
0014 #include <boost/beast/core/basic_stream.hpp>
0015 #include <boost/beast/core/rate_policy.hpp>
0016 #include <boost/asio/executor.hpp>
0017 #include <boost/asio/ip/tcp.hpp>
0018 
0019 namespace boost {
0020 namespace beast {
0021 
0022 /** A TCP/IP stream socket with timeouts and a polymorphic executor.
0023 
0024     @see basic_stream
0025 */
0026 using tcp_stream = basic_stream<
0027     net::ip::tcp,
0028     net::any_io_executor,
0029     unlimited_rate_policy>;
0030 
0031 } // beast
0032 } // boost
0033 
0034 #endif