mirror of
https://github.com/islehorse/HISP.git
synced 2025-04-22 20:55:52 +12:00
Improve websocket code.
This commit is contained in:
parent
e74f66a439
commit
b9e3949b14
8 changed files with 186 additions and 79 deletions
|
@ -8264,7 +8264,7 @@ namespace HISP.Server
|
|||
IPAddress hostIP = IPAddress.Parse(ConfigReader.BindIP);
|
||||
IPEndPoint ep = new IPEndPoint(hostIP, ConfigReader.Port);
|
||||
ServerSocket.Bind(ep);
|
||||
ServerSocket.Listen(0x7fffffff);
|
||||
ServerSocket.Listen(0xFFFF);
|
||||
gameTimer = new Timer(new TimerCallback(onGameTick), null, gameTickSpeed, gameTickSpeed);
|
||||
minuteTimer = new Timer(new TimerCallback(onMinuteTick), null, oneMinute, oneMinute);
|
||||
Logger.InfoPrint("Binding to ip: " + ConfigReader.BindIP + " On port: " + ConfigReader.Port.ToString());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue