Beispiel #1
0
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();
}
Beispiel #2
0
void CTCPServerProxied::stop()
{
	stopAllClients();
}