simplify connection handling when setting the receive buffer

This commit is contained in:
Marten Seemann 2023-05-08 13:04:18 +03:00
parent 1cd78f131f
commit 600502ab06
6 changed files with 38 additions and 54 deletions

View file

@ -8,8 +8,6 @@ func newConn(c net.PacketConn) (rawConn, error) {
return &basicConn{PacketConn: c}, nil
}
func inspectReadBuffer(interface{}) (int, error) {
return 0, nil
}
func inspectReadBuffer(any) (int, error) { return 0, nil }
func (i *packetInfo) OOB() []byte { return nil }