status-go/vendor/github.com/lucas-clemente/quic-go/conn_generic.go

19 lines
377 B
Go
Raw Normal View History

2022-04-01 16:16:46 +00:00
//go:build !darwin && !linux && !freebsd && !windows
// +build !darwin,!linux,!freebsd,!windows
package quic
import "net"
const disablePathMTUDiscovery = false
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 }