in reply to real-time output from Mojolicious WebSockets?

If you try sleep(1) for 1..3; does it change anything?

If you switch webservers (hypnotoad?) does it change anything?

not having played with websocket thats the first things I would check :)

  • Comment on Re: real-time output from Mojolicious WebSockets?

Replies are listed 'Best First'.
Re^2: real-time output from Mojolicious WebSockets?
by BroFish (Initiate) on Dec 19, 2014 at 13:17 UTC

    Thank you for your suggestions.

    Changing "sleep(3);" to "sleep(1) for 1..3;" had no obvious effect. I also tried running the web server via "morbo ./wbsckt.pl" and "hypnotoad --foreground ./wbsckt.pl", and the behavior did not change. In each case tcpdump shows the server is sending back all output at once.