Skip to content

TCP chat room where once server starts it can handle multiple clients that want to talk to each other

Notifications You must be signed in to change notification settings

Mhijazi16/TCP-ROOM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 

Repository files navigation

TCP-ROOM 🏠💬

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.

Overview 📝

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.

Features 🌟

  • Real-time chat functionality
  • Support for multiple clients
  • Server-managed communication

Files 📁

  • client.py: Client-side script for joining the chat room.
  • server.py: Server-side script for managing client connections and communication.

Usage 🚀

Server

python server.py Starts the server and listens for incoming connections on a TCP socket.

Client

python client.py Launches the client application to join the chat room.

How to Use 🤔

  1. Start the server by running server.py.
  2. Run multiple instances of client.py to simulate multiple clients joining the chat room.
  3. Clients can send messages that will be relayed to all other clients connected to the server.

Examples 📺

Here's how you can use TCP-ROOM:

2024-03-26_21.38.05_+02.mp4

20240326_21h41m10s_grim

  1. Start chatting with other clients in the room!

Requirements 🛠️

  • Python 3.x

Contributions 🤝

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! 🎉🎊

About

TCP chat room where once server starts it can handle multiple clients that want to talk to each other

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages