This is a chatroom project that lets clients connect to a server and communicate with eachother through the server.
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.
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.
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.
- User authentication system with secure username/passwords
- Message encryption
- Print a userlist to the client