in reply to Re: Setting SO_LINGER on Windows
in thread Setting SO_LINGER on Windows
I think it should be noted that "sleep" only functions on integer time increments...
Unless you use Time::HiRes...
Perhaps I need to rephrase my original question:
What's the proper way to set SO_LINGER ? Ancient memories of Unix and TLI lead me to believe I need 2 values: a flag to enable, and another value to set the timeout. Based on the perl examples I've surfaced thus far, approx. 50% are doing it the wrong way..
|
|---|