2021-11-10 18:45:26 +00:00
|
|
|
//go:build !darwin && !linux && !freebsd && !windows
|
2021-08-03 09:04:02 +00:00
|
|
|
// +build !darwin,!linux,!freebsd,!windows
|
|
|
|
|
|
|
|
package quic
|
|
|
|
|
|
|
|
import "net"
|
|
|
|
|
2021-11-10 18:45:26 +00:00
|
|
|
const disablePathMTUDiscovery = false
|
|
|
|
|
2021-08-03 09:04:02 +00:00
|
|
|
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 }
|