* Write TCP close event * @param {string} key - TCP session key
(key)
| 222 | * @param {string} key - TCP session key |
| 223 | */ |
| 224 | writeTcpClose(key) { |
| 225 | const keyBytes = Buffer.from(key, 'utf8'); |
| 226 | return this.writeMessage(NET_MSG_TCP_CLOSE, keyBytes); |
| 227 | } |
| 228 | |
| 229 | /** |
| 230 | * Write UDP receive event |
no test coverage detected