In your can_read call, you'll want to use a timeout value that's equal to your keep-alive period so that you won't miss sending out a keep-alive message on time.
In reply to Re^3: Printing to all clients on a socket from a child process
by pc88mxer
in thread Printing to all clients on a socket from a child process
by Fredde87
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |