Case
SocketError.invalidAddress(_:)
The host string could not be parsed as an IPv4 or IPv6 address.
case invalidAddress(String)
Mentioned In
Discussion
Thrown by ipv4(_:port:) and ipv6(_:port:) when the underlying inet_pton(3) call returns 0. The payload is the original host string so callers can log or surface it.