// Establish the local endpoint for the socket. // Dns.GetHostName returns the name of the // host running the application.IPHostEntry ipHostInfo = Dns.GetHostEntry(Dns.GetHostName());IPAddress ipAddress = ipHostInfo.AddressList[0];IPEndPoint localEndPoint = new IPEndPoint(IPAddress.Any, 11000);