Repository for the project of the Computers Networks course, containing servers in TCP and UDP architecture. Both servers were developed by using the native python servers module*
The TCP server can be runned by executing the /TCP/main.py
file.
When running, the application will ask for an IP address and a port so it can run in it.
The purpose of the TCP server is to deviler files requested to the server. By accessing the /files/{file_name.extension}
ou will be able to get the file (if it exists).
The UDP application have its execution splitted in two parts:
- First, you can run the server by executing the
/UDP/server.py
file. So it will be waiting for UDP connections in thehttp://localhost:8080
address. - Then, you can run the client by executing the
/UDP/client.py
file, so ir can stablish a connection with the server by accessing its address.
The purpose of the UDP server is to manage a quiz game. The game is multiplayer based, which means that you have to run (at least) two clients. Once the client is running, you will get all required information to play the game via terminal.