API Reference › Network › Network.send
method

Network.send

Network.send(peer, buf, len) -> void

Sends the first len bytes of buf to peer. Absent a real socket it uses the built-in loopback, so offline code still runs.

← All symbols