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

Method writeTcpConnected

src/ringbuffer.js:144–147  ·  view source on GitHub ↗

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

(key)

Source from the content-addressed store, hash-verified

142 * @param {string} key - TCP session key
143 */
144 writeTcpConnected(key) {
145 const keyBytes = Buffer.from(key, 'utf8');
146 return this.writeMessage(NET_MSG_TCP_CONNECTED, keyBytes);
147 }
148
149 /**
150 * Write TCP data - writes as much as will fit, returns amount written

Callers 1

_handleTcpConnectMethod · 0.80

Calls 1

writeMessageMethod · 0.95

Tested by

no test coverage detected