webclient.py: The main file that contains the implementation of the web client.
webserver.py: The main file that contains the implementation of the web server.
udp_server.py: implementation of the UDP server.
udp_client.py: implementation of the UDP client.
python3 webserver.py -p #port-number
python3 webclient.py --url http://your-server-ip:port-number
Run the following command to trace the packet on the loopback address, port 12345.
sudo tcpdump -i lo0 port 12345 -v
Run the following command to start server. 3490 is the port number.
python3 select_server.py 3490
Run the following command to start multiple clients.
alice bob and chris are the client names, localhost is the server address and 3490 is the port number.
python3 select_client.py alice localhost 3490
python3 select_client.py bob localhost 3490
python3 select_client.py chris localhost 3490