command
Version:
v0.0.3
Opens a new window with list of versions in this module.
Published: Aug 25, 2026
License: AGPL-3.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
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
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.