Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

echo through iocat in loop #3

Open
precociousmouse opened this issue Mar 23, 2017 · 2 comments
Open

echo through iocat in loop #3

precociousmouse opened this issue Mar 23, 2017 · 2 comments

Comments

@precociousmouse
Copy link

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?

@moul
Copy link
Owner

moul commented Mar 23, 2017 via email

@precociousmouse
Copy link
Author

perfect! it works, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants