ClientConnected Property

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

Object Oriented Interface

public function getClientConnected($clientid);
public function setClientConnected($clientid, $value);

Procedural Interface

ipworksssh_sshtunnel_get($res, 6 , $clientid);
ipworksssh_sshtunnel_set($res, 6, $value , $clientid);

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 PHP Edition - Version 20.0 [Build 8501]