quic_happy (quic v3.3.0)
View SourceSummary
Functions
Establish a client connection. Runs resolution in the caller.
RFC 8305 §4 address ordering: interleave families, IPv6 first.
Classify a host: an IP literal, bracketed or not, or a name. Brackets around anything but an IP literal are refused.
Functions
-spec connect(inet:ip_address() | binary() | string(), inet:port_number(), map(), pid(), gen_udp:socket() | undefined) -> {ok, pid()} | {error, term()}.
Establish a client connection. Runs resolution in the caller.
RFC 8305 §4 address ordering: interleave families, IPv6 first.
-spec parse_host(inet:ip_address() | binary() | string()) -> {literal, inet:ip_address()} | {name, string()} | {error, einval}.
Classify a host: an IP literal, bracketed or not, or a name. Brackets around anything but an IP literal are refused.