How would someone do that? It just blocks until the first connection attempt.
the boost::asio::ip::tcp::acceptor::accept method already blocks until a connection is attempted.
boost::asio::ip::tcp::acceptor::accept