IPWorks 2020 JavaScript Edition

Questions / Feedback?

Active Property

Enables or disables sending and receiving of data.

Syntax


 isActive(): boolean;

async  setActive(active: boolean): void;

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.

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