This whole business can get complicated. Have a look at this article: A PerlIO layer with timeout. This explains how IO::Socket::Timeout works. I think this is what you seek.
In reply to Re^3: Socket read timeout on Windows
by Marshall
in thread Socket read timeout on Windows
by bonzi
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |