I'm not sure because you haven't shown any code, but it sounds to me like you might be using a blocking sleep call or something like it? Just a thought: have you considered using non-blocking I/O in an event loop? I've successfully used POE several times now, it has a little bit of a learning curve but if you get into it, it's pretty useful. Its Cookbook even includes an example Websocket client.
In reply to Re: WebSocket idle
by haukex
in thread WebSocket idle
by chris212
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |