Omer Zak wrote:



Shachar Shemesh wrote:

Gilad Ben-Yossef wrote:


[... stuff about SO_LINGER was snipped ...]

That does not solve my problem, as the whole purpose of the program was to do things asynchronously. Making shutdown block is not an option.


Is there any reason why you cannot start another thread, and close the socket in that thread (and if necessary - do all your socket work there)?
--- Omer

I CAN. Now the question is - why should I?

The current program (http://nch.sourceforge.net) achieves 100% network utilization with a single thread of execution, by diligently doing everything asynchronously. Why should I change it now?

            Shachar

--
Shachar Shemesh
Lingnu Open Source Consulting ltd.
http://www.lingnu.com/


================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]



Reply via email to