udp

package
v0.0.0-...-1974178 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2021 License: Apache-2.0, BSD-2-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UDPServer

type UDPServer struct {
	ReceiveBufferSize int
	Events            udpServerEvents
	// contains filtered or unexported fields
}

func NewServer

func NewServer(receiveBufferSize int) *UDPServer

func (*UDPServer) GetSocket

func (srv *UDPServer) GetSocket() net.PacketConn

func (*UDPServer) Listen

func (srv *UDPServer) Listen(address string, port int)

func (*UDPServer) Shutdown

func (srv *UDPServer) Shutdown()

Jump to

Keyboard shortcuts

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