Solutions for the Computer Networks programming exercise (1) at Tel Aviv University.
comnet/
├── exercise1/ # Client-Server Communication:
│ ├── src/ # Source code
│ ├── tests/ # Unit tests
│ ├── ex1_server.py # Server executable
│ ├── ex1_client.py # Client executable
│ └── README.md # Exercise documentation
└── README.md # This file
-
Install uv (https://docs.astral.sh/uv/getting-started/installation/)
-
Navigate to an exercise directory and sync dependencies:
cd exercise1 # or any other exercise uv sync
-
Run tests:
uv run pytest
A TCP-based client-server application implementing authentication and command processing with concurrent client support using select().
Quick Start:
cd exercise1
# Start server
./ex1_server.py users.txt
# In another terminal, start client
./ex1_client.pySee exercise1/README.md for detailed documentation.
This project is distributed under the GPL-3.0 License. See the LICENSE file for more information.