()
| 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; |
no test coverage detected