Welcome to the TCP-ROOM project! πͺπ
TCP-ROOM is a simple chat room application built using TCP sockets in Python. It consists of two main components: client.py
and server.py
. When the server starts, it listens on a socket for TCP connections. Multiple clients can join the chat room and communicate with each other, with all communication being handled by the server.
TCP-ROOM provides a platform for users to join a virtual room and engage in real-time text-based communication. The server acts as a central hub, facilitating communication between clients by relaying messages.
- Real-time chat functionality
- Support for multiple clients
- Server-managed communication
client.py
: Client-side script for joining the chat room.server.py
: Server-side script for managing client connections and communication.
python server.py
Starts the server and listens for incoming connections on a TCP socket.
python client.py
Launches the client application to join the chat room.
- Start the server by running
server.py
. - Run multiple instances of
client.py
to simulate multiple clients joining the chat room. - Clients can send messages that will be relayed to all other clients connected to the server.
Here's how you can use TCP-ROOM:
2024-03-26_21.38.05_+02.mp4
- Start chatting with other clients in the room!
- Python 3.x
Contributions are welcome! If you'd like to contribute to the project, feel free to fork the repository, make your changes, and submit a pull request.
Enjoy chatting in your virtual TCP room! ππ