Asynchronous UDP-based chat application
Hosted at udpchat://209.97.187.173
How to set up and run the application.
1. Create a python virtual enviroment
- Run
python3 -m venv venv
to create the virtual enviroment. - Run
source venv/bin/activate
to activate the virtual enviroment. - Run
pip install -e .
to install dependencies to the virtual environment
2. Starting the server
On localhost
- Run
python3 -m udp_chat.server
to start running the server.
On specified IP address
- Run
python3 -m udp_chat.server (IP address) (port number)
to start running the server
3. Starting a client GUI
In a new terminal:
Connect to a server on localhost
- Run
python3 -m udp_chat.gui_client
to start the client GUI
Connect to a server IP address
- Run
python3 -m udp_chat.gui_client (IP address) (port number)
to start the client GUI
4. Starting a command line client
Note: Must already have created an account
In a new terminal:
Connect to a server on localhost
- Run
python3 -m udp_chat.client
to start the client
Connect to a server IP address
- Run
python3 -m udp_chat.client (IP address) (port number)
to start the client GUI
5. Delete the enviroment
- Run
rm -rf venv
to delete the virtual enviroment