TCP Networking
← All examples22_network
Demonstrates the networking module: - TCP server (echo server) - TCP client connections - Sending and receiving data - Connection state handling This example runs both a server and client locally. Press S to start the server, C to connect a client. CLI args: --server or -s : Auto-start server --client or -c : Auto-connect as client

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