Documentation
¶
Overview ¶
send_udp — UDP sender, written with the Debuglet Go SDK.
Sends -count datagrams to -addr on a connected UDP socket. No reply is read, so the output only reports what the debuglet handed to the host.
Build and run:
make wasm SAMPLE_DIR=examples/debuglets/go/send_udp dbl run --wasm examples/debuglets/go/send_udp/debuglet.wasm \ --executor EXECUTOR_ID --allow 127.0.0.1 --wait -- -addr 127.0.0.1:9000 -count 5
The destination must be in the job's --allow list.
Click to show internal directories.
Click to hide internal directories.