ClientLocalAddress Property

This property shows the IP address of the interface through which the connection is passing.

Syntax

ANSI (Cross Platform)
char* GetClientLocalAddress(int iClientId);

Unicode (Windows)
LPWSTR GetClientLocalAddress(INT iClientId);
- (NSString*)clientLocalAddress:(int)clientId;
#define PID_SSHTUNNEL_CLIENTLOCALADDRESS 11

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

""

Remarks

This property shows the IP address of the interface through which the connection is passing.

ClientLocalAddress is important for multi-homed hosts where it can be used to find which particular network interface an individual connection is going through.

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

String

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