Project for COMP3234 Computer Networks. A simple client program supporting peer to peer connection and communication based on the course-defined protocol, with a naive GUI supported by Python.
Currently the program is only tested on Ubuntu 1604 with python version 3.5.2
install python virtual enviroment
pip3 install virtualenv
set up virtual environment according to this guide
clone the project to local folder
git clone git@github.com:whcacademy/P2PChat.git
Firstly, run the room server which is provided by course instructor.
./room_server_64 # depend on the OS
Then, test cases now are currently included by the spec in spec.pdf
run
python3 P2PChat.py localhost 32340 50000
Note that the last argument is the port number which is needed to change if multiple clients are initialized.
Try to use SemVer for versioning.
- WANG Haicheng - Initial work - Haicheng
This project is licensed under the MIT License - see the LICENSE.md file for details.
- hash_function Source: http://www.cse.yorku.ca/~oz/hash.html