Networking primitives for socket communication.
Opens a connection to the given address. Returns a socket file descriptor.
Sends data over the socket. Returns the number of bytes sent.
Receives up to size bytes into buffer from the socket. Returns the number of bytes received.
load std.net
let sock = net.connect("127.0.0.1:8080")
net.send(sock, "Hello")