On Fri, Jan 16, 2015 at 12:21 PM, Warren Young <w...@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 lesmikes...@gmail.com _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos