void CTCPServerInt::handle_stop() { // The server is stopped by cancelling all outstanding asynchronous // operations. Once all operations have finished the io_service::run() call // will exit. acceptor_.close(); stopAllClients(); }
void CTCPServerProxied::stop() { stopAllClients(); }