scoop:scoop.platform:0.1.0
scoop.platform.net
API
-
enum
AddressFamily
The supported IP address families.
-
struct
Datagram
A received datagram's sender, delivered byte count, and whether its payload was truncated.
-
class
IpAddress
An immutable numeric IP address with family and optional IPv6 scope identifier. Parsing does not perform DNS resolution.
-
class
IpNetwork
An IP prefix whose stored network address has host bits cleared. Membership requires a compatible address family and matching prefix.
-
struct
NativeSocketAddress
The native socket-address bridge representation, including family, port, IPv6 scope, and address words.
-
class
SocketAddress
An immutable numeric IP endpoint with a validated network port.
-
class
TcpListener
An owned blocking TCP listener; accepted streams have independent ownership.
-
class
TcpStream
An owned blocking TCP connection. Input and output can be half-closed separately; close releases the entire connection.
-
class
UdpSocket
An owned blocking datagram socket preserving message boundaries.
-
function
resolve
Performs a blocking host/service lookup, optionally restricting address family, and returns candidate socket addresses.