Accustomed to closing the client and servers the hard way during development I totally forgot to handle graceful disconnections and went crazy trying to understand what was going on. And I call myself a network programmer, ha.
@jens thankfully my code doesnt need to distinguish between graceful or not, does the same thing in both cases.
@dahrkael
Well, graceful disconnects are the polite situation, and you have to let your code deal well with rude peers. Totally get it.