Socks4Handler.GetEndPointBytes Method

Mentalis.org ProxySocket

Mentalis.org ProxySocket Documentation

Socks4Handler.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

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