Skip to main content

Module net

Module net 

Source
Expand description

Capability-gated network operations.

Drop-in replacements for std::net functions that require a capability token.

Functionsยง

tcp_bind
Binds a TCP listener to the given address. Requires NetBind permission.
tcp_connect
Opens a TCP connection to the given address. Requires NetConnect permission.
udp_bind
Binds a UDP socket to the given address. Requires NetBind permission.