Inherits Struct < Value < Object
A UDP peer address. The value is 20 bytes and compares without a heap allocation.
Parses host:port or [ipv6]:port.
host:port
[ipv6]:port
An empty address. A packet uses this when it has no target.
Host text for UDPSocket#bind. This allocates one string.
UDPSocket#bind
FNV-1a mix for the membership table. The method does not allocate.
Address bytes. IPv4 uses the first 4 bytes. IPv6 uses all 16 bytes.
Builds a socket address on the stack. No string is allocated.
Same as #inspect(io).
#inspect(io)