Ejemplo n.º 1
0
 public ChatServer(IPAddress address, int port) : base(address, port)
 {
     SessionManager = new ChatSessionManager();
     CommandManager = new ChatCommandManager();
     ChannelManager = new ChatChannelManager();
     //use this to add command into chatserver
     CommandManager.Start();
     ChannelManager.Start();
     SessionManager.Start();
 }