Skip to content

Latest commit

 

History

History
30 lines (23 loc) · 506 Bytes

README.md

File metadata and controls

30 lines (23 loc) · 506 Bytes

BSD3 License

σοφός (sophos)

Socket server sharing wisdom.

Reads rows from a given file as wisdoms. Responds with randomly chosen wisdom when a client connects.

Setup

Build:

$ make

Clean:

$ make clean

Usage

Man page:

$ man ./sophos.1

Examples:

$ bin/sophos -p 4444 wisdoms.txt

$ cat wisdoms.txt | sophos -p 4444