SocksHandler.AddressToBytes Method

Mentalis.org ProxySocket

Mentalis.org ProxySocket Documentation

SocksHandler.AddressToBytes Method 

Converts an IP address to an array of bytes.

[Visual Basic]Protected Function AddressToBytes( _
   ByVal address As Long _
) As Byte()
[C#]
protected byte[] AddressToBytes(
   long address
);

Parameters

address
The IP address to convert.

Return Value

An array of four bytes that represents the specified IP address.

See Also

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