SSHConnectionRemotePort (property)
The RemotePort shows the TCP port on the remote host through which the connection is coming.
Syntax
- (int)SSHConnectionRemotePort:(int)connectionId;
public func SSHConnectionRemotePort(connectionId: Int32) throws -> Int32
Default Value
0
Remarks
The SSHConnectionRemotePort shows the TCP port on the remote host through which the connection is coming.
The connection must be valid or an error will be fired.
The ConnectionId parameter specifies the index of the item in the array. The size of the array is controlled by the SSHConnectionCount property.
This property is read-only.