Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: Python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.003 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'socket': 0.05; 'subject:Question': 0.07; "client's": 0.09; 'cc:addr:python-list': 0.10; 'clock.': 0.16; 'from:addr:cs': 0.16; 'from:addr:zip.com.au': 0.16; 'from:name:cameron simpson': 0.16; 'message-id:@cskk.homeip.net': 0.16; 'received:202.125.174': 0.16; 'received:202.125.174.133': 0.16; 'received:boardofstudies.nsw.edu.au': 0.16; 'received:cskk.homeip.net': 0.16; 'received:edu.au': 0.16; 'received:harvey.boardofstudies.nsw.edu.au': 0.16; 'received:homeip.net': 0.16; 'received:nsw.edu.au': 0.16; 'simpson': 0.16; 'wrote:': 0.17; 'keyboard': 0.22; 'url:02': 0.22; 'cc:2**0': 0.23; 'cc:no real name:2**0': 0.24; 'cc:addr:python.org': 0.25; 'header:In-Reply-To:1': 0.25; 'header :User-Agent:1': 0.26; 'socket,': 0.29; 'error': 0.30; 'data,': 0.35; 'continue': 0.35; 'received:au': 0.36; 'charset:us-ascii': 0.36; 'enough': 0.36; 'subject:: ': 0.38; 'some': 0.38; 'content- disposition:inline': 0.60; 'close': 0.63; 'ever': 0.63; 'connection.': 0.75; 'engineering?': 0.84; 'zen': 0.84; 'sorry.': 0.91 Date: Mon, 19 Nov 2012 16:37:00 +1100 From: Cameron Simpson To: Abhijeet Mahagaonkar Subject: Re: Question on Socket Timeouts MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20121119034053.GA5537@cskk.homeip.net> User-Agent: Mutt/1.5.21 (2010-09-15) References: <20121119034053.GA5537@cskk.homeip.net> Cc: Python-list@python.org X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 13 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1353303425 news.xs4all.nl 6861 [2001:888:2000:d::a6]:53207 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:33532 On 19Nov2012 14:40, I wrote: | Not the time you set up the socket, or when you accept the client's | connection. Thereafter, ever time you get some data, look at the clock. | If enough time has elapsed, close the socket yourself. That would be "Note", not "Not". Sorry. -- Cameron Simpson No keyboard present Hit F1 to continue Zen engineering? - Haiku Error Messages http://www.salonmagazine.com/21st/chal/1998/02/10chal2.html