This is a minimal IRC-style chat server built using Python's socket and threading modules. It accepts multiple client connections and broadcasts messages to all connected clients in real-time.
- Handles multiple clients simultaneously
- Broadcasts messages sent by any client to all others
- Built with only Python standard libraries
- Simple and clean structure
- Python 3.9+
- A terminal-based TCP client (like
telnetornc) to connect to the server
- Clone the repository:
git clone https://github.com/cpushalman/irc.git
- Run the Server
python server.py- Connect clients using telnet or netcat: Open separate terminals and run:
telnet 127.0.0.1:3000