Exemple #1
0
        static void Main(string[] args)
        {
            SimpleServer _simpleServer = new SimpleServer(true, 4444);

            _simpleServer.Start();

            _simpleServer.Stop();
        }
        static void Main(string[] args)
        {
            SimpleServer _simpleServer = new SimpleServer("127.0.0.1", 4444);

            _simpleServer.Start();

            _simpleServer.Stop();
        }
Exemple #3
0
        static void Main(string[] args)
        {
            SimpleServer _simpleServer = new SimpleServer("127.0.0.1", 4444);

            _simpleServer.Start();

            _simpleServer.Stop();
        }