Constructor HttpHost
HttpHost(IPEndPoint)
Initializes a new instance of the HttpHost class using the specified IPEndPoint.
public HttpHost(IPEndPoint endpoint)
Parameters
endpoint
IPEndPointThe IPEndPoint to listen on.
HttpHost(int)
Initializes a new instance of the HttpHost class using the specified port on the loopback address.
public HttpHost(int port)
Parameters
port
intThe port number to listen on.