~dht_server()
	{
		m_socket.cancel();
		m_socket.close();
		if (m_thread) m_thread->join();
	}
Beispiel #2
0
	void stop()
	{
		m_abort = true;
		m_socket.cancel();
		m_socket.close();
	}
Beispiel #3
0
	~udp_tracker()
	{
		m_socket.cancel();
		m_socket.close();
		if (m_thread) m_thread->join();
	}