Beefy Boxes and Bandwidth Generously Provided by pair Networks Joe
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: variable timeout

by AgentM (Curate)
on Apr 18, 2001 at 02:21 UTC ( #73377=note: print w/ replies, xml ) Need Help??


in reply to variable timeout

You should consider leaving the default value of the socket timeout. Usually, it is best left alone unless you expect an extremely poor network connection. If you really need it, look at the SO_LINGER socket option. The initial receipt time (RTT-round trip time) of the packet in no way determines the RTT of the rest of the packets. Of course, if you insist on setting this, it is as simple as setting the SO_RCVTIMEO. Look at setsockopt.

AgentM Systems nor Nasca Enterprises nor Bone::Easy nor Macperl is responsible for the comments made by AgentM. Remember, you can build any logical system with NOR.


Comment on Re: variable timeout

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (14)
As of 2014-04-20 15:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (485 votes), past polls