It does seem to be working for me:
$ websocat ws://0.0.0.0:8080 line :hello line :world line :line 3 line :nice line :to line :meet line :you
Were you expecting the log to be streamed right when you connect? The way you wrote your server, you need to send a utf8 message to the server to trigger the event. Note that I pressed enter after starting websocat.
Hope this helps!
Jim
πάντων χρημάτων μέτρον έστιν άνθρωπος.
In reply to Re: tail file and websocket stream
by jimpudar
in thread tail file and websocket stream
by leostereo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |