Network

object Network(source)

The second computer on this computer's cable. No addresses or peripheral binding are needed.

Properties

Link copied to clipboard

Functions

Link copied to clipboard

Waits for one message without blocking the server; throws IOException if the connection is interrupted.

Link copied to clipboard
fun send(message: ByteArray)

Copies one message of at most 4096 bytes into the peer's bounded inbox. Throws IOException on failure.