Skip to content

Latest commit

 

History

History
23 lines (18 loc) · 571 Bytes

README.md

File metadata and controls

23 lines (18 loc) · 571 Bytes

Chatroom Application

A chatroom built in C++ using the concepts of socket programming and multi-threading. It supports chatting among multiple clients.

How to run

  1. Clone this repository
  2. Run the following commands in your terminal :
g++ server.cpp -lpthread -o server
g++ client.cpp -lpthread -o client
  1. To run the server application, use this command in the terminal :
./server
  1. Now, open another terminal and use this command to run the client application :
./client
  1. For opening multiple client applications, repeat step 4.