示例#1
0
 static void Main()
 {
     ListenerNamespace.Listener listener = new ListenerNamespace.Listener();
     listener.Start();
     Console.ReadLine();
     listener.Stop();
 }
示例#2
0
        // Listener Functions:
        // Start()
        // (priv) StartWaitingForConnections()
        // (priv) AddNewConnection()
        // (priv) StopWaitingForConnections()
        // Stop()
        static void Main()
        {
            Listener listener = new Listener();

            listener.Start();
        }
示例#3
0
 //Listener's Functions:
 //Start()
 //(priv) StartWaitingForConnnections()
 //(priv) AddNewConnection()
 //(priv) Stop waiting for connections
 //Stop ()
 static void Main(string[] args)
 {
     Listener listener = new Listener();
     listener.Start();
 }