优化网络消息处理的睡眠时间,减少CPU占用;扩展连接配置以支持更多参数
This commit is contained in:
@@ -119,7 +119,7 @@ private:
|
||||
std::mutex connectionsMutex;
|
||||
|
||||
// Connection config
|
||||
SteamNetworkingConfigValue_t g_connectionConfig[2];
|
||||
SteamNetworkingConfigValue_t g_connectionConfig[3];
|
||||
int g_retryCount;
|
||||
const int MAX_RETRIES = 3;
|
||||
int g_currentVirtualPort;
|
||||
|
||||
Reference in New Issue
Block a user