mirror of
https://github.com/glest/glest-source.git
synced 2025-08-11 02:43:57 +02:00
added better handling of network connections:
- only listen for new clients on a server if an open slot exists (unconnected) - for both server and client we wait a max of 10 seconds to receive a proper intro packet or we disconnect (could have connected to / from a non glest application using the same port)
This commit is contained in:
@@ -181,6 +181,7 @@ public:
|
||||
|
||||
protected:
|
||||
|
||||
int boundPort;
|
||||
BroadCastSocketThread *broadCastThread;
|
||||
void startBroadCastThread();
|
||||
bool isBroadCastThreadRunning();
|
||||
|
Reference in New Issue
Block a user