Because there is no reason to NOT wait indefinitely, and it is a much easier way to handle things. If you want a timeout, you need to set things up with a timeout of some sort, then check the result and deal with what happens if you get a timeout. What are you going to do if there is a timeout? Exit, I suppose?
--
Mats
Compilers can produce warnings - make the compiler programmers happy: Use them!
Please don't PM me for help - and no, I don't do help over instant messengers.