connected Property
Triggers a connection or disconnection.
Syntax
def get_connected(connection_id: int) -> bool: ... def set_connected(connection_id: int, value: bool) -> None: ...
Default Value
FALSE
Remarks
Triggers a connection or disconnection.
This property triggers a connection or disconnection.
Setting this property to True initiates a connection attempt to the host specified by the remotehost property. If successful, the value of this property changes to True and the onconnected event is fired.
The connection_id parameter specifies the index of the item in the array. The size of the array is controlled by the connection_count property.