This is an Python-based Secure Chat room. The project is entirely based on the Socket Progamming; done using Python. A server is set to the listening mode, with a specific IP Address and Port numner (that can be edited in the script) and clients are made to connect to the server. The messages are then broadcasted to all the clients present.
Sockets and the socket API are used to send messages across a network. They provide a form of inter-process communication (IPC). The network can be a logical, local network to the computer, or one that’s physically connected to an external network, with its own connections to other networks. The obvious example is the Internet, which you connect to via your ISP.
- Add multiples client
- Chat parallely
- Python3 with pip
- threading
- socket
apt install git python3 -y
git clone https://github.com/Dev-Bittu/py-socket-chat.git
cd py-socket-chat
pip install -r requirements.txt
Now, your setup is complete. So, you can run your server and can chat.
Type this in your terminal,
python3 server.py
if you see the follwing means it working,
$ python3 server.py
Server running!
Press CTRL + c
- Bittu (Dev-Bittu)
This project is licensed under the MIT License - see the LICENSE for details
- Add kick system
- Show nickname instead of ip