https://github.com/narasimha1997/groupchat-c
A simple group chat server that one can write using C/C++, with the support of external websocket router.
https://github.com/narasimha1997/groupchat-c
c cgi multiprocessing websocket
Last synced: 3 months ago
JSON representation
A simple group chat server that one can write using C/C++, with the support of external websocket router.
- Host: GitHub
- URL: https://github.com/narasimha1997/groupchat-c
- Owner: Narasimha1997
- Created: 2019-01-31T14:51:30.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-01-31T14:57:33.000Z (about 7 years ago)
- Last Synced: 2024-12-27T23:43:44.199Z (about 1 year ago)
- Topics: c, cgi, multiprocessing, websocket
- Language: C
- Size: 3.6 MB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# GroupChat-C
A simple group chat server that one can write using C/C++, with the support of external websocket router.
**websocketd** is a binary, that provides a CGI like interface for applications, websocketd can redirect all STDIN and STDOUTs to user-program.
Checkout the repository **websocketd** for more information.
### How to run :
The bootstrap program is written in C and it's compiled binary is provided, this bootstrap program requires a port number as argument.
The bootstrap program compiles **Server.c** and launches the compiled binary by wrapping it inside websocketd.
You have to run this simple command to start:
```
./bootstrap 8000 #800 = PORT
```
Run test.py to interact with the server program.