OriginPort Property

This property holds the port used by the client which originated the connection to the reverse tunnel on SSHHost .

Syntax

ANSI (Cross Platform)
int GetOriginPort(int iSSHChannelId);

Unicode (Windows)
INT GetOriginPort(INT iSSHChannelId);
- (int)originPort:(int)sSHChannelId;
#define PID_SSHREVERSETUNNEL_ORIGINPORT 10

IPWORKSSSH_EXTERNAL void* IPWORKSSSH_CALL IPWorksSSH_SSHReverseTunnel_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);

IPWORKSSSH_EXTERNAL int IPWORKSSSH_CALL IPWorksSSH_SSHReverseTunnel_CheckIndex(void *lpObj, int propid, int arridx);

Default Value

0

Remarks

This property holds the port used by the client which originated the connection to the reverse tunnel on SSHHost.

The SSHChannelId parameter specifies the index of the item in the array. The size of the array is controlled by the SSHChannelCount property.

This property is read-only and not available at design time.

Data Type

Integer

Copyright (c) 2023 /n software inc. - All rights reserved.
IPWorks SSH 2020 C++ Edition - Version 20.0 [Build 8501]