allinurl / gwsocket

fast, standalone, language-agnostic WebSocket server RFC6455 compliant
http://gwsocket.io
MIT License
745 stars 67 forks source link

Add support for stdin / stdout #17

Closed jhofstee closed 5 years ago

jhofstee commented 5 years ago

By default named pipes are used for io, this patch adds the option to use stdin / stdout as well. This allows e.g.

./gwsocket --std > log.txt tail -F /var/log/syslog | ./gwsocket --std

--stdin and --stdout are added for fine grained control.

closes https://github.com/allinurl/gwsocket/issues/7

todo: man page / README updates