static void Main(string[] args) { Console.WriteLine("My ETHER TCP Server - ver. 1.0"); EtherServer server = new EtherServer(5445); Console.WriteLine("Server listening..."); while (true) { server.ProcessClients(); // prevent high CPU usage Thread.Sleep(10); } }
public EtherClient(EtherServer server) : base() { Address = 255; Server = server; }