close server socket on exit

This commit is contained in:
Benjamin Sergeant
2019-01-24 21:16:32 -08:00
parent c665d65cba
commit 3c9ec0aed0
5 changed files with 31 additions and 27 deletions

View File

@ -162,7 +162,9 @@ namespace ix
{
if (pollResult == PollResultType_Timeout)
{
sendPing(kHeartBeatPingMessage);
std::stringstream ss;
ss << kHeartBeatPingMessage << "::" << _heartBeatPeriod << "s";
sendPing(ss.str());
return;
}