Click or drag to resize

ProxyServer Constructor

Initializes a new ProxyServer.

Namespace:  FastProxy
Assembly:  FastProxy (in FastProxy.dll) Version: 0.2.0.0
Syntax
C#
public ProxyServer(
	IPEndPoint endpoint,
	IConnector connector,
	int backlog = 16,
	int bufferSize = 4096
)

Parameters

endpoint
Type: System.NetIPEndPoint
The endpoint to host the proxy server; set the port number to 0 to select a port at random, retrieved through EndPoint.
connector
Type: FastProxyIConnector
The connector used to accept incoming connections.
backlog (Optional)
Type: SystemInt32
The listener backlog.
bufferSize (Optional)
Type: SystemInt32
The buffer size for data transfer.
See Also