Added new packet type as end of game notification. Now displaying dialogs at end of game, to start a new game. Server errors are displayed.

This commit is contained in:
lotodore
2007-06-10 23:28:25 +00:00
parent 8129880461
commit baf2c82864
20 changed files with 418 additions and 169 deletions
+2 -2
View File
@@ -119,9 +119,9 @@ ServerRecvThread::Main()
// Close sessions.
CloseSessionLoop();
}
} catch (const NetException &)
} catch (const NetException &e)
{
// TODO
GetCallback().SignalNetServerError(e.GetErrorId(), e.GetOsErrorCode());
}
GetSender().SignalTermination();
GetSender().Join(SENDER_THREAD_TERMINATE_TIMEOUT);