Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
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 ?
Replies are listed 'Best First'.
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 lurking in the Monastery: (16)
As of 2015-07-30 16:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (273 votes), past polls