> The problem arises when I try to run the server on linux: the
> clients never receive SocketException: connection reset
>
> Does it depend on any options?
No, but the normal thing to expect is EOF, not connection reset.
Exactly how the clients detect EOF depends on the specific read
mechanism they use.
If you aren't seeing EOF then I expect you're doing something strange
in your client code, like checking with ready() or available() before
attempting to read. If that's the case, don't.
/gordon
--