Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Timeout for timeout for an established connection

by grondilu (Pilgrim)
on Dec 30, 2012 at 15:40 UTC ( #1010935=note: print w/ replies, xml ) Need Help??


in reply to Timeout for an established connection

There is a timeout method in IO::Socket:

timeout(VAL)

Set or get the timeout value (in seconds) associated with this socket. If called without any arguments then the current setting is returned. If called with an argument the current setting is changed and the previous value returned.

Hope this helps.


Comment on Re: Timeout for timeout for an established connection
Re^2: Timeout for timeout for an established connection
by zwon (Monsignor) on Dec 30, 2012 at 16:17 UTC

    timeout method from IO::Socket is not very useful. This timeout value is only used by the connect method.

Re^2: Timeout for timeout for an established connection
by 0day (Sexton) on Dec 30, 2012 at 16:27 UTC
    no. it does not work. I tried.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (9)
As of 2014-09-30 20:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (383 votes), past polls