mirror of
https://github.com/glest/glest-source.git
synced 2025-10-02 18:36:48 +02:00
- allow querying a headless even when no clients connected
This commit is contained in:
@@ -3324,6 +3324,9 @@ int glestMain(int argc, char** argv) {
|
||||
clientSocket.receive(&szBuf[0],8095,false);
|
||||
std::cout << szBuf << std::endl;
|
||||
}
|
||||
else {
|
||||
std::cout << "Could not connect (possibly no clients connected) to host: " << ip.getString() << " port: " << port << std::endl;
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user