A terminal-based chat application built in C++ using WinSock2. It features a multithreaded server that handles multiple clients, enabling real-time messaging over TCP. Demonstrates core networking concepts like sockets, client-server communication, and threading.
This project is a simple terminal-based chat application built using C++ and WinSock2 API for Windows. It consists of a multithreaded server that handles multiple clients simultaneously, and a client that can send and receive messages in real-time.
- Multi-client support using threads
- Real-time message broadcasting
- Graceful disconnection handling
- Terminal-based chat interface
- C++
- WinSock2 API (Windows Sockets)
- Threads (
<thread>) - TCP/IP Protocol
/chat-app
│
├── client.cpp # Client-side implementation
├── server.cpp # Server-side implementation
├── README.md # Project documentation
├── LICENSE # (Optional) License file
└── .gitignore # (Optional) Git ignored files