MCPcopy Create free account
hub / github.com/Moddable-OpenSource/moddable / write

Method write

modules/network/sntp/sntp.js:74–84  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

72 this.close();
73 }
74 write() {
75 if (!this.#address)
76 return;
77
78 try {
79 super.write(this.#address, 123, packet());
80 }
81 catch {
82 trace("SNTP: ignore UDP write fail\n")
83 }
84 }
85 close() {
86 Timer.clear(this.#timer);
87 this.#timer = undefined;

Callers 3

constructorMethod · 0.95
startMethod · 0.95
callbackMethod · 0.95

Calls 1

writeMethod · 0.65

Tested by

no test coverage detected