public void Start(string address, int port) { Debug.Assert(!string.IsNullOrEmpty(address) && port > 0); Start(NetworkUtil.GetIPAddress(address), port); }
// Send public void Send(HttpRequest httpRequest) { httpRequest.Host = NetworkUtil.GetAddress(Socket.RemoteEndPoint); base.Send(httpRequest); }