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

16 lines
292 B
Go
Raw Normal View History

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