Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/riyajha2305/realtimchatapp


https://github.com/riyajha2305/realtimchatapp

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

        

## A realtime chatting system using Sockets & Threads
- The server and client will be talking to each other in real time for an infinite period until one of them is closed (by pressing Ctrl+C on the terminal).
- Threads is used for communication between server and client.
- Also, all the chat messages from the server and client are labeled and stored into a file for historical reference.
- Threads are used for saving data!

## To run the project

#### - to run server.cpp
```
g++ -std=c++20 -pthread -o server server.cpp
./server
```

#### - to run client.cpp
```
g++ -std=c++20 -pthread -o client client.cpp
./client
```