34 lines
538 B
Markdown
34 lines
538 B
Markdown
# qotd
|
|
A RFC 865 compliant Quote of the Day ~~daemon~~ program
|
|
|
|
## Done
|
|
* get random quote within file
|
|
* tcp server
|
|
* tcp client
|
|
|
|
## Todo
|
|
* udp server
|
|
* udp client
|
|
* t h r e a d s to accept several clients and/or run both udp and tcp servers from same executable
|
|
* macros (#define XXX yyy) for currently hard-coded values
|
|
* logging ?
|
|
* conf files ?
|
|
* switches (-x) and options (--xxxx) ?
|
|
|
|
## Installation
|
|
|
|
```sh
|
|
git clone https://github.com/Arthur-Coppey/qotd
|
|
cd qotd
|
|
cmake -B build
|
|
cd build
|
|
make
|
|
```
|
|
|
|
## Use
|
|
|
|
```sh
|
|
./server
|
|
./client
|
|
```
|