websocketd(8) | websocketd man page | websocketd(8) |
websocketd - turns any program that uses STDIN/STDOUT into a WebSocket server.
websocketd [options] COMMAND [command args]
or
websocketd [options] --dir=SOMEDIR
websocketd is a command line tool that will allow any executable program that accepts input on stdin and produces output on stdout to be turned into a WebSocket server.
To learn more about websocketd visit http://websocketd.com and project WIKI on GitHub!
A summary of the options supported by websocketd is included below.
--port=PORT
--address=ADDRESS
--sameorigin={true,false}
--origin=host[:port][,host[:port]...]
--ssl --sslcert=FILE --sslkey=FILE
--passenv VAR[,VAR...]
--reverselookup={true,false}
--dir=DIR
--staticdir=DIR
--cgidir=DIR
--help
--version
--license
--devconsole
--loglevel=LEVEL
The only known condition so far is that certain applications in programming languages that enforce implicit STDOUT buffering (Perl, Python, etc.) would be producing unexpected data passing delays when run under websocketd. Such issues could be solved by editing the source code of those applications (prohibiting buffering) or modifying their environment to trick them into autoflush mode (e.g. pseudo-terminal wrapper "unbuffer").
Active issues in development are discussed on GitHub: https://github.com/joewalnes/websocketd/issues.
Please use that page to share your concerns and ideas about websocketd, authors would greatly appreciate your help!
Copyright 2013-2014 Joe Walnes and the websocketd team. All rights reserved.
BSD license: Run 'websocketd --license' for details.
28 Sep 2014 | 0.0 |