Example #1
0
        static void Main(string[] args)
        {
            Console.CancelKeyPress += new ConsoleCancelEventHandler(CancelKeyPress);

            Console.WriteLine("Starting server on port: " + args[0]);
            server = new Server(int.Parse(args[0]));
            //server = new Server(8080);
            server.StartServer();
        }
Example #2
0
 public void StartForumServer()
 {
     server.StartServer();
 }