delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Date: | Tue, 29 Mar 2005 17:16:46 -0800 (PST) |
From: | "Peter A. Castro" <doctor AT fruitbat DOT org> |
To: | cygwin AT cygwin DOT com |
cc: | Peter Stephens <ptfoof AT sbcglobal DOT net> |
Subject: | RE: recv and errno during a connection reset/closed by peert |
In-Reply-To: | <Pine.CYG.4.58.0503291040080.3732@fordpc.vss.fsi.com> |
Message-ID: | <Pine.LNX.4.60.0503291711560.736@gremlin.fruitbat.org> |
References: | <!~!UENERkVCMDkAAQACAAAAAAAAAAAAAAAAABgAAAAAAAAAUKQItienSEKG+9226yKd5cKAAAAQAAAAdWX/pT74GUisDog/o7TE3gEAAAAA AT sbcglobal DOT net> <Pine DOT CYG DOT 4 DOT 58 DOT 0503291040080 DOT 3732 AT fordpc DOT vss DOT fsi DOT com> |
MIME-Version: | 1.0 |
X-IsSubscribed: | yes |
On Tue, 29 Mar 2005, Brian Ford wrote: > On Tue, 29 Mar 2005, Peter Stephens wrote: > >> I have thought about your suggestion and it makes a lot of sense. >> >> It seems like your suggestion would be very portable. A good suggestion and >> the most likely route for me at this point. > > Not to me. Maybe I'm missing something, but it seems you are going to a > lot of effort to poorly recreate poll/select? Why? If you are doing sequential, non multi-plexed, reads why do poll or select? Sitting in read is more optimal and the read should return either data or an error. The flaw in recv is that it returns a non-error non-data status. Perhaps it would be better to switch to using read() instead of recv? > This is really getting off-topic, though. Yes. Isn't it fun ?-) > -- > Brian Ford -- Peter A. Castro <doctor AT fruitbat DOT org> or <Peter DOT Castro AT oracle DOT com> "Cats are just autistic Dogs" -- Dr. Tony Attwood -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |