clientConnected (property)
This property is used to disconnect individual connections and/or show their status.
Syntax
- (BOOL)clientConnected:(int)clientId; - (void)setClientConnected:(int)clientId:(BOOL)newClientConnected;
public func clientConnected(clientId: Int32) throws -> Bool
public func setClientConnected(clientId: Int32, newClientConnected: Bool) throws -> Void
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.