Back to front pageView on Hacker News (opens in a new tab)Show HN: A Unixy approach to WebSockets (opens in a new tab)websocketd.com421 pointsby joewalnes (on Hacker News)11 years agowebsocketd.com (opens in a new tab)websocketdwebsocketd runs your command-line programs as WebSocket servers. Read messages from stdin and write replies to stdout, in whatever language you use.Comments (140) 32 threadsShow all commentsShowing thread 24 of 32[-]spiralpolitik11 years ago1 reply#I assume you are treating `stdin` and `stdout` as just a stream of bytes rather than trying to do anything clever a la Python 3 ?joewalnes11 years ago#Yep. The only magic thing is a line break (e.g. \n) is used to terminate each message.
Show HN: A Unixy approach to WebSockets (opens in a new tab)websocketd.com421 pointsby joewalnes (on Hacker News)11 years ago
spiralpolitik11 years ago1 reply#I assume you are treating `stdin` and `stdout` as just a stream of bytes rather than trying to do anything clever a la Python 3 ?
joewalnes11 years ago#Yep. The only magic thing is a line break (e.g. \n) is used to terminate each message.
Comments (140) 32 threads
Show all comments
Showing thread 24 of 32