8 // Abstracts the utp Socket, so the implementation can be selected from
10 type utpSocket interface {
12 // net.Listener, but we can't have duplicate Close.
13 Accept() (net.Conn, error)
15 // net.Dialer but there's no interface.
16 DialContext(ctx context.Context, network, addr string) (net.Conn, error)
17 // Dial(addr string) (net.Conn, error)