wanshenmean
2026-02-03 d8a9b76a6bb2824c1e9fb0d17938c926472dd78b
Code/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/appsettings.json
@@ -46,14 +46,14 @@
  "WebSocketEnable": true, //是否开启WebSocket服务
  "WebSocketPort": 9296, //WebSocket服务端口
  "SocketServer": {
    "Enabled": true,
    "Port": 2000,
    "IpAddress": "0.0.0.0",
    "Backlog": 100,
    "EncodingName": "utf-8",
    "AutoDetectEncoding": true,
    "IdleTimeoutSeconds": 300,
    "EnableHeartbeat": true,
    "LogFilePath": "socketserver.log"
    "Enabled": true, //是否启用Socket服务器
    "Port": 2000,  //监听端口
    "IpAddress": "0.0.0.0", //监听地址,
    "Backlog": 1000,   //最大连接数
    "EncodingName": "utf-8",  //编码方式
    "AutoDetectEncoding": true,   //是否自动检测编码
    "IdleTimeoutSeconds": 300,   //空闲超时时间,单位秒,0表示不超时
    "EnableHeartbeat": true,   //是否启用心跳检测
    "LogFilePath": "socketserver.log"  //日志文件路径
  }
}