Open precociousmouse opened 7 years ago
Can you try this instead:
while true; do echo "debug says hi!”; sleep 5; done | iocat --socketio ws://127.0.0.1:8001
On 23 Mar 2017, 13:45 +0100, precociousmouse notifications@github.com, wrote:
Hi, I'm currently working on a project that requires echoing a message through iocat using --socketio from client to server in a loop. My code currently is: while true; do echo "debug says hi!" | iocat --socketio ws://127.0.0.1:8001 sleep 5 done while in another terminal window I set up the server with: iocat --socketio -l -p 8001 The loop manages to send one instance of the message but then won't receive anything else. Any thoughts what could be killing the loop? — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.
perfect! it works, thanks!
Hi, I'm currently working on a project that requires echoing a message through iocat using --socketio from client to server in a loop. My code currently is:
while true; do echo "debug says hi!" | iocat --socketio ws://127.0.0.1:8001 sleep 5 done
while in another terminal window I set up the server with:
iocat --socketio -l -p 8001
The loop manages to send one instance of the message but then won't receive anything else. Any thoughts what could be killing the loop?