SSHConnectionConnected Property

Used to disconnect individual connections and/or show their status.

Syntax

ANSI (Cross Platform)
int GetSSHConnectionConnected(int iConnectionId);
int SetSSHConnectionConnected(int iConnectionId, int bSSHConnectionConnected); Unicode (Windows) BOOL GetSSHConnectionConnected(INT iConnectionId);
INT SetSSHConnectionConnected(INT iConnectionId, BOOL bSSHConnectionConnected);
- (BOOL)SSHConnectionConnected:(int)connectionId;
- (void)setSSHConnectionConnected:(int)connectionId:(BOOL)newSSHConnectionConnected;
#define PID_SSHDAEMON_SSHCONNECTIONCONNECTED 10

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_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
IPWORKSSSH_EXTERNAL int IPWORKSSSH_CALL IPWorksSSH_SSHDaemon_CheckIndex(void *lpObj, int propid, int arridx);

Default Value

FALSE

Remarks

Used to disconnect individual connections and/or show their status.

The SSHConnectionConnected is used to close connections.

SSHConnectionConnected also shows the status of a particular connection (connected/disconnected).

How and when the connection is closed is controlled by the Linger property. Please refer to its description for more information.

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 not available at design time.

Data Type

Boolean

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