active (property)

Enables or disables sending and receiving of data.

Syntax

@property (nonatomic,readwrite,assign,getter=active,setter=setActive:) BOOL active;
- (BOOL)active;
- (void)setActive:(BOOL)newActive;
public var active: Bool {
  get {...}
set {...} }

Default Value

FALSE

Remarks

Setting the Active property to True makes the class create a communication endpoint (socket) which can be used for sending and receiving UDP datagrams. Setting it to False destroys the socket and disables data communications.

If UseConnection is set to True, then a local association (connection) to the remote host and port is also created.

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