boost::corosio::tcp_socket::tcp_socket

Construct a socket from an executor.

Synopsis

template<class Ex>
requires (!std::same_as<std::remove_cvref_t<Ex>, tcp_socket>) &&
                 capy::Executor<Ex>
explicit
tcp_socket(Ex const& ex);

Description

The socket is associated with the executor's context.

Parameters

Name Description

ex

The executor whose context will own the socket.

Created with MrDocs