MCPcopy Create free account
hub / github.com/deepclause/agentvm / writeTcpClose

Method writeTcpClose

src/ringbuffer.js:224–227  ·  view source on GitHub ↗

* Write TCP close event * @param {string} key - TCP session key

(key)

Source from the content-addressed store, hash-verified

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

Callers 1

_handleTcpConnectMethod · 0.80

Calls 1

writeMessageMethod · 0.95

Tested by

no test coverage detected