The problem I have is that my open() command executes a program on the server(program A) that get stats from another program on the server(program B). When 'B' is running 'A' prints out a line every 10 seconds like this:
TIMESTAMP - value,value,value,value.
But if 'B' dies 'A' just hangs waiting for 'B' to come back up and doesn't print a new line until it can get stats from 'B'.
So my while loop is still running and I want a way to log "Error" if no more new lines are returned every 10 seconds.
In reply to Re^4: Check for a new line
by h123
in thread Check for a new line
by h123
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |