private static void ThreadMain() { var endPoint = new IPEndPoint(IPAddress.Loopback, 11000); var server = new BasicEchoServer(endPoint); server.Start(); }