I'm not an expert here - but what about setting the linger socket option value to zero BEFORE closing the socket to minimize the number of errors of this kind ? Is this a general way to ensure a good socket shutdown? Marten Am 18.01.2012 06:30, schrieb john skaller: > > SO_REUSEADDR >