Skip to content

Latest commit

 

History

History
34 lines (18 loc) · 1.38 KB

README.md

File metadata and controls

34 lines (18 loc) · 1.38 KB

chatroom

This is a chatroom project that lets clients connect to a server and communicate with eachother through the server.

Software Demo Video

How to run

To start the client server, make sure to create a ip_info.py file in the same directory as server.py with the line SERVER = "IP ADDRESS OR URL HERE" inside fo it.

To run the server, run python3 server.py on the server side, and run python3 client.py on the client side.

Network Communication

This program is a client/server that uses TCP and runs on any port that the server specifies. I decided to use port 5050, and I think that will work well in most use cases. The messages are encoded and decoded using UTF-8.

Development Environment

This software was creatied using Python 3 and Vim with the socket and threading libraries. These libraries come preinstalled with Python 3.

I am running a Debian server VPS through Vultr.

Useful Websites

Future Work

  • User authentication system with secure username/passwords
  • Message encryption
  • Print a userlist to the client