Click or drag to resize

IConnectorConnect Method

Called when a new client tries to connect.

Namespace:  FastProxy
Assembly:  FastProxy (in FastProxy.dll) Version: 0.2.0.0
Syntax
C#
ConnectResult Connect(
	out IPEndPoint endpoint,
	out IListener listener
)

Parameters

endpoint
Type: System.NetIPEndPoint
The upstream endpoint to connect to.
listener
Type: FastProxyIListener
The IListener associated with this connection.

Return Value

Type: ConnectResult
A ConnectResult indicating whether the connection should be accepted or rejected.
See Also