A TCP Chatroom built with python and TCP/IP sockets, consisting of a server and multiple clients which can connect with the server and chat with each other. It also provides an Admin role with features including kicking and baning of users.
Clone this repo!
First things first. Make a local clone of this repo so you can work on it from your own computer.
git clone https://github.com/sr1j/Hii.git
Running the Python application
- open terminal at the repo
python server.py python client.py
- Run the server script on a terminal, and run client scripts on different terminals and enter your username to connect it
to the server and you can chat.
- Inorder to be the admin you have to enter the password which can be set inside the
server.pyfile. The default admin password is set as “adminpass”.