udpHeader

package
v0.0.0-...-1766363 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 6, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RollUint16

func RollUint16() uint32

Types

type UdpConn

type UdpConn struct {
	// contains filtered or unexported fields
}

func NewUdpConn

func NewUdpConn(conn *net.UDPConn) *UdpConn

func (*UdpConn) Close

func (c *UdpConn) Close() error

func (*UdpConn) LocalAddr

func (c *UdpConn) LocalAddr() net.Addr

func (*UdpConn) ReadFrom

func (uh *UdpConn) ReadFrom(b []byte) (int, net.Addr, error)

func (*UdpConn) SetDeadline

func (c *UdpConn) SetDeadline(t time.Time) error

func (*UdpConn) SetReadBuffer

func (c *UdpConn) SetReadBuffer(bytes int) error

func (*UdpConn) SetReadDeadline

func (c *UdpConn) SetReadDeadline(t time.Time) error

func (*UdpConn) SetWriteDeadline

func (c *UdpConn) SetWriteDeadline(t time.Time) error

func (*UdpConn) SyscallConn

func (c *UdpConn) SyscallConn() (syscall.RawConn, error)

func (*UdpConn) Write

func (c *UdpConn) Write(b []byte) (int, error)

func (*UdpConn) WriteTo

func (uh *UdpConn) WriteTo(p []byte, addr net.Addr) (int, error)

Serialize implements PacketHeader.

type VideoChat

type VideoChat struct {
	// contains filtered or unexported fields
}

func (*VideoChat) Serialize

func (vc *VideoChat) Serialize(b []byte)

Serialize implements PacketHeader.

func (*VideoChat) Size

func (vc *VideoChat) Size() int32

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL