Skip to content

Tanya-aa1/Multithreading_Chat_App

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Multithreading_Chat_App

This is a simple multithreaded chatroom implemented in C using sockets and pthreads.
Multiple clients can connect to a server and exchange messages in real time.

Features

  • Multi-client support using threads.
  • Real-time messaging between clients.
  • Thread synchronization using pthread_mutex_t.
  • Graceful exit when a client disconnects.

Installation & Setup

Compile the Server and Client

Open a terminal and run:

gcc server.c -o server -pthread
gcc client.c -o client -pthread

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages