Re:Show HN: A Unixy approach to WebSockets
by minimax on Saturday February 14, 2015 @06:52PM
(#9051194)
The thing with WebSockets is that they are message oriented. WebSockets endpoints are presented with a series of distinct messages, whereas stdin/stdout are stream based and you have to build messaging on top, if that's what you want. I guess the idea here is that you are just using '\n' as the message delimiter?
[ Parent
| on HN ]
Re:Show HN: A Unixy approach to WebSockets
by asergeyev on Saturday February 14, 2015 @06:58PM
(#9051212)
Pretty much. Good example is Joe's vmstats https://github.com/joewalnes/web-vmstats