Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/riyajha2305/realtimchatapp
https://github.com/riyajha2305/realtimchatapp
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/riyajha2305/realtimchatapp
- Owner: riyajha2305
- Created: 2024-01-27T14:22:25.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-01-27T14:31:19.000Z (11 months ago)
- Last Synced: 2024-01-27T15:36:34.757Z (11 months ago)
- Language: C++
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```