Merci Emmanuel,
I did just that, and now I really got what you meant. Sorry for being so
dense ...
On 15/01/2010 13:22, Emmanuel Lecharny wrote:
<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 ...)