[CentOS] Socket behavior change from 6.5 to 6.6
Les Mikesell
lesmikesell at gmail.com
Fri Jan 16 18:29:12 UTC 2015
On Fri, Jan 16, 2015 at 12:21 PM, Warren Young <wyml at etr-usa.com> wrote:
>
> A different fix is to exploit the real-time nature of video camera imagery: if your Python app goes more than a second without receiving an image frame, it can presume that the DOS box has disappeared again, and drop its conn. By the time the DOS box reboots, TIME_WAIT may have expired, so the DOS box might reconnect without a problem.
>
Normally if you care about knowing if the other end of a connection is
gone you could enable keepalives on the socket, but I think you still
don't find out until you try to write to it.
--
Les Mikesell
lesmikesell at gmail.com
More information about the CentOS
mailing list