Skip to content

A simple client program supporting peer to peer connection and communication based on the course-defined protocol, with a naive GUI supported by Python.

License

Notifications You must be signed in to change notification settings

hcwang95/P2PChat

Repository files navigation

Peer to Peer Chat Client Server

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.

Prerequisites

Currently the program is only tested on Ubuntu 1604 with python version 3.5.2

Getting Started

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

Running the tests

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.

Versioning

Try to use SemVer for versioning.

Authors

  • WANG Haicheng - Initial work - Haicheng

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

Acknowledgments

About

A simple client program supporting peer to peer connection and communication based on the course-defined protocol, with a naive GUI supported by Python.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages