Home

UDP experiment

UDP Echo

A focused echo workflow that sends a message to the server and returns it with a predictable prefix. This is the clearest starting point for understanding datagram request and response behavior.

Default behavior

Server echoes input

Messages come back as `ECHO: <message>`, making round-trip checks obvious.

Why it matters

Minimal network surface

It isolates transport behavior without mixing in extra protocol concerns.

Workflow

1. Start the server The server listens on localhost for datagrams.
2. Send messages The client can be used interactively and supports `quit` to exit.

Run locally

python projects/udp-echo/server.py
python projects/udp-echo/client.py