mirror of
https://github.com/glest/glest-source.git
synced 2025-09-26 07:28:59 +02:00
Added some performance logging capabilities and socket cleanup for new broadcast thread sockets
This commit is contained in:
@@ -120,7 +120,8 @@ public:
|
||||
|
||||
static string getHostName();
|
||||
static string getIp();
|
||||
bool isSocketValid(PLATFORM_SOCKET *validateSocket=NULL) const;
|
||||
bool isSocketValid() const;
|
||||
static bool isSocketValid(const PLATFORM_SOCKET *validateSocket);
|
||||
|
||||
protected:
|
||||
static void throwException(string str);
|
||||
|
@@ -34,11 +34,13 @@ public:
|
||||
|
||||
enum DebugType {
|
||||
debugSystem,
|
||||
debugNetwork
|
||||
debugNetwork,
|
||||
debugPerformance
|
||||
};
|
||||
|
||||
static bool enableDebugText;
|
||||
static bool enableNetworkDebugInfo;
|
||||
static bool enablePerformanceDebugInfo;
|
||||
static const char *debugLogFile;
|
||||
|
||||
static void OutputDebug(DebugType type, const char *fmt, ...);
|
||||
|
Reference in New Issue
Block a user