mirror of
https://github.com/aler9/gortsplib
synced 2025-12-24 13:38:08 +08:00
13
pkg/readbuffer/read_buffer.go
Normal file
13
pkg/readbuffer/read_buffer.go
Normal file
@@ -0,0 +1,13 @@
|
||||
// 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)
|
||||
}
|
||||
Reference in New Issue
Block a user