Click or drag to resize

SimpleConnectorConnect Method

Called when a new client tries to connect.

Namespace:  FastProxy
Assembly:  FastProxy (in FastProxy.dll) Version: 0.2.0.0
Syntax
C#
public 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.

Implements

IConnectorConnect(IPEndPoint, IListener)
See Also