SSHConnectionRemotePort Property
The RemotePort shows the TCP port on the remote host through which the connection is coming.
Syntax
ANSI (Cross Platform) int GetSSHConnectionRemotePort(int iConnectionId); Unicode (Windows) INT GetSSHConnectionRemotePort(INT iConnectionId);
- (int)SSHConnectionRemotePort:(int)connectionId;
#define PID_SSHDAEMON_SSHCONNECTIONREMOTEPORT 13 IPWORKSSSH_EXTERNAL void* IPWORKSSSH_CALL IPWorksSSH_SSHDaemon_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); IPWORKSSSH_EXTERNAL int IPWORKSSSH_CALL IPWorksSSH_SSHDaemon_CheckIndex(void *lpObj, int propid, int arridx);
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 and not available at design time.
Data Type
Integer