udp_basic

command
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2026 License: AGPL-3.0 Imports: 5 Imported by: 0

README

Run go run examples/udp_basic/main.go.

If you wish the server to run on a different address, provide the argument -addr <address>.

Ex: go run examples/udp_basic/main.go -addr "127.0.0.1:8081"

Raw UDP has no remote close signal. In this example, OnClose runs when the local client closes or when the server shuts down its virtual UDP clients.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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