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