6 #ifndef KAGOME_TUNER_HPP 7 #define KAGOME_TUNER_HPP 11 #include <boost/asio/ip/tcp.hpp> 19 using Acceptor = boost::asio::ip::tcp::acceptor;
20 using Endpoint = boost::asio::ip::tcp::endpoint;
23 std::shared_ptr<boost::asio::io_context> context,
25 uint16_t port_tolerance,
30 #endif // KAGOME_TUNER_HPP
std::unique_ptr< Acceptor > acceptOnFreePort(std::shared_ptr< boost::asio::io_context > context, Endpoint endpoint, uint16_t port_tolerance, const log::Logger &logger)
std::shared_ptr< soralog::Logger > Logger
boost::asio::ip::tcp::endpoint Endpoint
boost::asio::ip::tcp::acceptor Acceptor
constexpr uint16_t kDefaultPortTolerance