public static int Main(String[] args)
    {
        int port = 80;
        SynchronousSocketServer service = new SynchronousSocketServer(port);

        service.StartListening();
        return(0);
    }
示例#2
0
 static int Main(string[] args)
 {
     //AsynchronousSocketServer.StartListening();
     SynchronousSocketServer.StartListening();
     return(0);
 }