Back to projects
2025

Concurrent TCP Chatroom

Multi-threaded TCP chatroom server-client implementation in C supporting concurrent communication between multiple clients using POSIX threads (pthread).

CTCP/IPpthreadSocket ProgrammingMulti-threadingNetwork ProgrammingGCCPOSIXMutexSignal HandlingClient-Server
View repository

Features

  • Multi-client support handling up to 10 simultaneous clients
  • Thread-based concurrency using POSIX threads (pthread)
  • Real-time message broadcasting
  • Unique client IDs and graceful disconnection handling