Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Serve ¶
func Serve(port int) (chan *transport.RTPTransport, error)
Serve listen on a port and accept udp conn func Serve(port int) chan *udp.Conn {
func ServeWithKCP ¶
func ServeWithKCP(port int, kcpPwd, kcpSalt string) (chan *transport.RTPTransport, error)
ServeWithKCP accept kcp conn
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
Package deadline provides deadline timer used to implement net.Conn compatible connection
|
Package deadline provides deadline timer used to implement net.Conn compatible connection |
Package udp provides a connection-oriented listener over a UDP PacketConn
|
Package udp provides a connection-oriented listener over a UDP PacketConn |
Click to show internal directories.
Click to hide internal directories.