Network Tools CLI
← All examples25_nettools
Command-line network utilities demonstrating: - CLI argument parsing with argtable3 - HTTP file server - TCP echo server/client - WebSocket server/client - UDP operations Usage: 25_nettools serve <path> [--port 8080] - Serve static files 25_nettools tcp-server [--port 7890] - TCP echo server 25_nettools tcp-client <host> [--port 7890] [--message "hello"] 25_nettools ws-server [--port 7891] - WebSocket server 25_nettools ws-client <url> - WebSocket client 25_nettools udp-send <host> --port 9000 --message "data"
- Number
- 25
- Tags
- Requires
MODKIT_ENABLE_NETWORKING- Source
examples/25_nettools/main.c
Build and run
./scripts/build-linux.sh release --target=25_nettools --run