ClientRemotePort Property
This property shows the TCP port on the remote host through which the connection is coming.
Syntax
ANSI (Cross Platform) int GetClientRemotePort(int iClientId); Unicode (Windows) INT GetClientRemotePort(INT iClientId);
- (int)clientRemotePort:(int)clientId;
#define PID_SSHTUNNEL_CLIENTREMOTEPORT 15 IPWORKSSSH_EXTERNAL void* IPWORKSSSH_CALL IPWorksSSH_SSHTunnel_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); IPWORKSSSH_EXTERNAL int IPWORKSSSH_CALL IPWorksSSH_SSHTunnel_CheckIndex(void *lpObj, int propid, int arridx);
Default Value
0
Remarks
This property 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 ClientId parameter specifies the index of the item in the array. The size of the array is controlled by the ClientCount property.
This property is read-only and not available at design time.
Data Type
Integer