mirror of
https://github.com/aler9/gortsplib
synced 2025-09-28 03:52:12 +08:00
14 lines
257 B
Go
14 lines
257 B
Go
// Package readbuffer contains a function to get the read buffer size of a socket.
|
|
package readbuffer
|
|
|
|
import (
|
|
"net"
|
|
"syscall"
|
|
)
|
|
|
|
// PacketConn is a packet connection.
|
|
type PacketConn interface {
|
|
net.PacketConn
|
|
SyscallConn() (syscall.RawConn, error)
|
|
}
|