All very well and good; but none of it helps the OP timeout a blocking read.
RIP Neil Armstrong
In reply to Re^2: Signals vs. Windows by BrowserUk in thread Signals vs. Windows by DanEllison