ClientConnected Property

This property is used to disconnect individual connections and/or show their status.

Syntax

bool GetClientConnected(int iClientId);
int SetClientConnected(int iClientId, bool bClientConnected);

Default Value

false

Remarks

This property is used to disconnect individual connections and/or show their status.

The ClientConnected property may be set to false to close the connection.

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

Data Type

Boolean

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