The stupid question is the question not asked | |
PerlMonks |
Re^11: Timeout for an established connectionby BrowserUk (Patriarch) |
on Jan 03, 2013 at 20:51 UTC ( [id://1011516]=note: print w/replies, xml ) | Need Help?? |
Maybe this is an error in the syntax? setsockopt($sock, 6, 18, pack("QQ", 5, 0)) That does look suspect to me. According to this (4th post), the parameter is the address of an int containing the timeout in milliseconds. Given you are on a 64-bit build I'd expect to use something like this in Perl:
Or possibly:
With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
In Section
Seekers of Perl Wisdom
|
|