cloudflared-mirror/vendor/github.com/lucas-clemente/quic-go/conn_generic.go

16 lines
285 B
Go
Raw Normal View History

// +build !darwin,!linux,!freebsd,!windows
package quic
import "net"
func newConn(c net.PacketConn) (connection, error) {
return &basicConn{PacketConn: c}, nil
}
func inspectReadBuffer(interface{}) (int, error) {
return 0, nil
}
func (i *packetInfo) OOB() []byte { return nil }