private static void SetUpWebServer() { _serverSocket = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp); IPEndPoint ipEndpoint = new IPEndPoint(IPAddress.Any, 80); _serverSocket.Bind(ipEndpoint); Debug.Print(_serverSocket. ListenForWebRequest(); }