sockets library

Optional sockets APIs. Import only when needed.

Classes

TcpConnection
Native TCP byte stream with explicit connection and shutdown ownership.
TlsConnection
Native TLS byte stream using the caller-selected trust context.
UdpConnection
Native UDP endpoint that preserves incoming datagram boundaries.