Getting Started
No install step: the module ships inside the compiler. Import what you need:
.rnx
import { TcpStream } from "@std/net";Quickstart
Copy this into a file or open it straight in the playground:
.rnx
import { TcpListener } from "@std/net";
let listener = TcpListener.bind("127.0.0.1", 0);
print(listener.port() > 0);
listener.close();