in reply to Re: Socket read timeout on Windows
in thread Socket read timeout on Windows

Ah, the monastery is reachable again!

Thank you - if everything else fails, I will try this approach. It might be possible just to break all connections, re-establish them, and start over - we shall see.

But why does IO::Socket::INET ignore the read timeout setting? As far as I can see, connect timeout works, and we can see from "ordinary" Windows apps (e.g. browsers) that it is possible to time out on TCP read on Windows. Well, perhaps they too jump through hoops like this.

Replies are listed 'Best First'.
Re^3: Socket read timeout on Windows
by Marshall (Canon) on Feb 15, 2025 at 20:58 UTC
    Yeah, I dunno why the Monastery has been unreachable at times lately.

    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.