Python Chat is a simple chat system built with sockets in Python. It allows communication between a server and a client over a local network.
- 📡 Server & Client – Easy setup for both server and client
- 💬 Real-time Messaging – Instant message exchange between users
- 🔒 Local Connection – Works on
127.0.0.1
for testing
- Python 3.x
- Local network connection
python "PythonChat Server.py"
Enter the port number for the server.
python "PythonChat Client.py"
Enter the server’s port number and your name.
- Run the server and wait for a client to connect
- Run the client and connect to the server
- Send messages and chat in real-time
- For local use only (
127.0.0.1
) - Press Ctrl + C to stop the server/client