static void Main() { ListenerNamespace.Listener listener = new ListenerNamespace.Listener(); listener.Start(); Console.ReadLine(); listener.Stop(); }
// Listener Functions: // Start() // (priv) StartWaitingForConnections() // (priv) AddNewConnection() // (priv) StopWaitingForConnections() // Stop() static void Main() { Listener listener = new Listener(); listener.Start(); }
//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(); }