tcp.hpp 556 B

123456789101112131415161718192021222324
  1. //
  2. // Copyright (c) 2019-2023 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
  3. //
  4. // Distributed under the Boost Software License, Version 1.0. (See accompanying
  5. // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
  6. //
  7. #ifndef BHO_MYSQL_TCP_HPP
  8. #define BHO_MYSQL_TCP_HPP
  9. #include <asio2/bho/mysql/connection.hpp>
  10. #include <asio/ip/tcp.hpp>
  11. namespace bho {
  12. namespace mysql {
  13. /// A connection to MySQL over a TCP socket.
  14. using tcp_connection = connection<asio::ip::tcp::socket>;
  15. } // namespace mysql
  16. } // namespace bho
  17. #endif