How can one force an ongoing socket read()/write() call to
return immediately? The methods I'm aware of are sending a
signal to the thread doing the call, and closing the
descriptor in use from another thread. Also, would these
methods work if the network cable were pulled out, the
other host lost power, etc. Thanks in advance.
Ronnie N. Carpio