Re: Socket behavior change from 6.5 to 6.6

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Thu, Jan 15, 2015 at 03:40:08PM -0300, Glenn Eychaner wrote:

> My only theory is that this has something to do with non-ephemeral ports and
> socket reuse, but I'm not sure what.

If you want a quick detection that the link is dead, have the server
occasionally send bytes to the dos box. You will get an immediate
error if the dos box is up and knows that connection is kaput.

Given that the port numbers of the new connection are the same, I'm
kind of surprised that the behavior changed from 6.5 to 6.6, but, I
always use defensive programming (sending those extra bytes).

-- greg


_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux