connected (property)

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

Syntax

- (BOOL)connected:(int)connectionId;
- (void)setConnected:(int)connectionId:(BOOL)newConnected;
public func connected(connectionId: Int32) throws -> Bool
public func setConnected(connectionId: Int32, newConnected: Bool) throws -> Void

Default Value

FALSE

Remarks

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

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

Connected 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 ConnectionCount property.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks 2020 iOS Edition - Version 20.0 [Build 8307]