Socks5Handler.GetEndPointBytes Method

Mentalis.org ProxySocket

Mentalis.org ProxySocket Documentation

Socks5Handler.GetEndPointBytes Method 

Creates an array of bytes that has to be sent when the user wants to connect to a specific IPEndPoint.

[Visual Basic]Private Function GetEndPointBytes( _
   ByVal remoteEP As System.Net.IPEndPoint _
) As Byte()
[C#]
private byte[] GetEndPointBytes(
   IPEndPoint remoteEP
);

Parameters

remoteEP
The IPEndPoint to connect to.

Return Value

An array of bytes that has to be sent when the user wants to connect to a specific IPEndPoint.

Exceptions

Exception Type Condition
System.ArgumentNullException remoteEP is null.

See Also

Socks5Handler Class | Socks5Handler Members | Org.Mentalis.Network.ProxySocket Namespace