IPWorks 2020 JavaScript Edition

Questions / Feedback?

Protocol Property

The protocol used by the class.

Syntax


 getProtocol(): NetclockProtocols;

 setProtocol(protocol: NetclockProtocols): void;

enum NetclockProtocols { tpTime, tpSNTP }

Default Value

1

Remarks

This property is the protocol used by the component. Use this property to specify which protocol the class will use to connect to the server. By default, this property is tpSNTP (1). The Time Protocol may be selected by setting this property to tpTimeProtocol (0).

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