Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
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 rifling through the Monastery: (5)
As of 2014-12-28 22:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (183 votes), past polls