Chops Net IP
Loading...
Searching...
No Matches
chops::net::detail::tcp_connector Class Reference
Inheritance diagram for chops::net::detail::tcp_connector:
Collaboration diagram for chops::net::detail::tcp_connector:

Public Types

using endpoint_type = asio::ip::tcp::endpoint
 

Public Member Functions

template<typename Iter >
 tcp_connector (asio::io_context &ioc, Iter beg, Iter end, tcp_connector_timeout_func tout_func, bool reconn_on_err)
 
 tcp_connector (asio::io_context &ioc, std::string_view remote_port, std::string_view remote_host, tcp_connector_timeout_func tout_func, bool reconn_on_err)
 
bool is_started () const noexcept
 
template<typename F >
void visit_socket (F &&f)
 
template<typename F >
std::size_t visit_io_output (F &&func)
 
template<typename F1 , typename F2 >
std::error_code start (F1 &&io_state_chg, F2 &&err_cb)
 
std::error_code stop ()
 

The documentation for this class was generated from the following file: