Socket's close() doesn't close connection (old bug?)

Florian Weimer fw@deneb.enyo.de
Wed Nov 9 12:59:00 GMT 2005


* Martin Egholm Nielsen:
>> This has been discussed on linux-kernel, see
>> <http://marc.theaimsgroup.com/?t=99183809500003>.

> Call me stupid, but I didn't see anybody agreeing on a solution, right?

There is no solution because the desired behavior is not consistent.
I'm not familiar with the Java behavior, but it's likely that you
explicitly need to wake up threads which are waiting in some operation
on the socket.


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /