A TCP acceptor session continuously waiting for incoming connections.
The session implements the asio::SocketCreationSession class template and signals asio::Socket interfaces for incoming connections. Synopsis:
auto context = std::make_shared<asio::Context>();
session->observeConnectionEstablished([](std::unique_ptr<asio::Socket>& socket) {
});
context->run();
static std::shared_ptr< TcpAcceptorSession > create(Arguments &&... arguments)
Target mlrange_cast(Source arg)
Generic version of checked ML casts.
Definition at line 33 of file TcpAcceptorSession.h.