Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: what does timeout mean in IO::Socket::INET ?

by balakrishnan (Monk)
on Dec 29, 2008 at 12:48 UTC ( #733009=note: print w/ replies, xml ) Need Help??


in reply to what does timeout mean in IO::Socket::INET ?

actually those timeout handling part in IO::Socket::INET module has been commented out. So there is no purpose to use the timeout(). In Authen::Radius module, then had ETIMEOUT error for indicating that timed out waiting for packet.


Comment on Re: what does timeout mean in IO::Socket::INET ?
Re^2: what does timeout mean in IO::Socket::INET ?
by Anonymous Monk on Dec 29, 2008 at 12:59 UTC
      Yes, it used by IO::Socket. But note that it use it only in connect and accept. So if you want timeout in sysread you should set socket option or better use IO::Select.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://733009]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (9)
As of 2015-01-26 10:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My top resolution in 2015 is:

















    Results (189 votes), past polls