Handle idle timeouts and lost connections more gracefully.

This commit is contained in:
Jonathan Naylor 2017-03-21 18:45:31 +00:00
parent 2423a67ae6
commit f60cf52a0b
5 changed files with 20 additions and 9 deletions

View file

@ -93,7 +93,7 @@ void CNetwork::setDestination(const in_addr& address, unsigned int port)
m_port = port;
}
void CNetwork::setDestination()
void CNetwork::clearDestination()
{
m_address.s_addr = INADDR_NONE;
m_port = 0U;