Rebex SFTP for .NET

ProxySocket.ToEndPoint Method 

Converts the host address and port into an IP endpoint. If host is not IP address, returns null.

public static IPEndPoint ToEndPoint(
   string host,
   int port
);

Parameters

host
Host IP address.
port
Host port.

Return Value

IP endpoint.

See Also

ProxySocket Class | Rebex.Net Namespace