diff --git a/dial.go b/dial.go index a5e062f..9b9d3d8 100644 --- a/dial.go +++ b/dial.go @@ -19,9 +19,8 @@ type Dialer struct { } // Dial opens a connection to a server. The network must be one of "quic", -// "quic4", (IPv4-only) "quic6" (IPv6-only), or "unix". For now, "quic4" and -// "quic6" don't do anything as the quic-go package doesn't seem to support this -// behavior. +// "quic4", (IPv4-only) "quic6" (IPv6-only), or "unix". For now, quic is not +// supported. func (diale Dialer) Dial(ctx context.Context, network, address string) (Conn, error) { switch network { case "quic", "quic4", "quic6": return diale.dialQUIC(ctx, network, address) diff --git a/listen.go b/listen.go index 723dea5..4c0681c 100644 --- a/listen.go +++ b/listen.go @@ -16,7 +16,8 @@ type Listener interface { } // Listen listens for incoming HOPP connections. The network must be one of -// "quic", "quic4", (IPv4-only) "quic6" (IPv6-only), or "unix". +// "quic", "quic4", (IPv4-only) "quic6" (IPv6-only), or "unix". For now, quic is +// not supported. func Listen(network, address string) (Listener, error) { switch network { case "quic", "quic4", "quic6": return ListenQUIC(network, address, nil)