static void Main(string[] args) { int maxclient = 100; int port = 6650; SocketServerManager server = new SocketServerManager(); server.StartServer(maxclient, port); Console.ReadLine(); }
public HeartCheck(int time, SocketServerManager s) { heartOutTime = time; socketServerManager = s; StartCheck(); }
public HandlerCenter(SocketServerManager s) { socketServerManager = s; }