常用方法
常用方法
常用方法
常用方法
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(); }