<snip/>
- when the session is in a writing or idle state, and the remote peer
is disconnected or dies (for instance if I just kill it brutally),
It's not enough. If you kill your application locally, you will receive
a FIN segment. What you should do to really test the disconnection
detection workig on a single machine is to launch your client on a
virtual machine, and kill this virtual machine. It has the same effect
that when you use cissors to cut your network cable :) (and it's less
painfull than when you have to rewire your cable ...)
--
Regards,
Cordialement,
Emmanuel Lécharny
www.nextury.com