FastProxy API Documentation
FastProxy API Documentation
FastProxy
FastProxy
SimpleConnector Class
SimpleConnector Methods
Connect Method
SimpleConnector
Connect Method
Called when a new client tries to connect.
Namespace:
FastProxy
Assembly:
FastProxy (in FastProxy.dll) Version: 0.2.0.0
Syntax
C#
Copy
public
ConnectResult
Connect
(
out
IPEndPoint
endpoint
,
out
IListener
listener
)
Parameters
endpoint
Type:
System.Net
IPEndPoint
The upstream endpoint to connect to.
listener
Type:
FastProxy
IListener
The
IListener
associated with this connection.
Return Value
Type:
ConnectResult
A
ConnectResult
indicating whether the connection should be accepted or rejected.
Implements
IConnector
Connect(IPEndPoint
, IListener
)
See Also
Reference
SimpleConnector Class
FastProxy Namespace