- TCP and UDP communication protocols
- Supports key-value operations:
PUT(key, value)
GET(key)
DELETE(key)
- Pre-populated data explanation:
- TCP Dataset: Fruits with associated attribute numbers
- UDP Dataset: Animals with associated attribute numbers
- Open two terminal windows—one for the server and one for the client.
- Navigate to the project directory where the
deploy.sh
andrun_client.sh
scripts are located.
Run the server with either TCP(port 1111) or UDP(port 5555):
- TCP Server:
bash deploy.sh my-server tcp
- TCP Client:
bash run_client.sh my-client 1111 tcp
- UDP Server:
bash deploy.sh my-server udp
- UDP Client:
bash run_client.sh my-client 5555 udp
- Server: Press
Ctrl + C
in the server terminal. - Client: Type
quit
to exit.