udpserver

package
v0.0.0-...-bfa3772 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UDPPacket2

type UDPPacket2 struct {
	SrcAddr string
	DstAddr string
	Payload interface{}
}

type UDPServer

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

func (*UDPServer) Initialize

func (t *UDPServer) Initialize(addr string, intervalPrintStatsSec int) error

func (*UDPServer) Listen

func (t *UDPServer) Listen() error

func (*UDPServer) Start

func (t *UDPServer) Start() error

func (*UDPServer) Stop

func (t *UDPServer) Stop() error

Jump to

Keyboard shortcuts

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