UDP Networking
← All examples24_udp
Demonstrates UDP networking: - UDP socket creation - Sending and receiving datagrams - Multi-peer communication This example creates two local UDP sockets that can communicate with each other. CLI args: --server or -s : Auto-create sockets on startup --client or -c : Auto-create sockets on startup (same as --server for UDP)

- Number
- 24
- Tags
- Requires
MODKIT_ENABLE_NETWORKING- Source
examples/24_udp/main.c
Build and run
./scripts/build-linux.sh release --target=24_udp --run