示例#1
0
void IRCConnection::connect(const clan::SocketName &new_server)
{
	disconnect_abortive();
	stop_event.reset();
	queues.reset();
	shutdown_graceful.set(0);
	server = new_server;
	
	thread_worker.start(this, &IRCConnection::worker_main);
}
示例#2
0
IRCConnection::~IRCConnection()
{
	disconnect_abortive();
}
示例#3
0
IRCSession::~IRCSession()
{
	disconnect_abortive();
}
示例#4
0
Win32Socket::~Win32Socket()
{
	disconnect_abortive();
}