Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (6)
As of 2016-12-03 03:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (52 votes). Check out past polls.