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

Method writeTcpEnd

src/ringbuffer.js:200–203  ·  view source on GitHub ↗

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

(key)

Source from the content-addressed store, hash-verified

198 * @param {string} key - TCP session key
199 */
200 writeTcpEnd(key) {
201 const keyBytes = Buffer.from(key, 'utf8');
202 return this.writeMessage(NET_MSG_TCP_END, keyBytes);
203 }
204
205 /**
206 * Write TCP error event

Callers 2

_handleTcpConnectMethod · 0.80

Calls 1

writeMessageMethod · 0.95

Tested by

no test coverage detected