Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com X-Envelope-Sender-Is: Andrej DOT Borsenkow AT mow DOT siemens DOT ru (at relayer david.siemens.de) From: Borsenkow Andrej To: cygwin AT cygwin DOT com Subject: RE: BUG - 1.3.n accept fails if NULL sockaddr * argument and other related stuff. Date: Wed, 1 Aug 2001 12:02:44 +0400 Message-ID: <000c01c11a60$58576670$21c9ca95@mow.siemens.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) In-Reply-To: <20010801092435.B9574@cygbert.vinschen.de> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2479.0006 > > > > 1. socket.h does not include a type "socklen_t" which is > apparently defined > > on some Unix platforms. > > So what? You yourself say "on some Unix". I have seen the actual type in question (used in prototypes) being int, size_t, unsigned long. May be something else. Defining it as socklen_t adds virtually nothing to readablility or portability (portable programs should still check actual type to avoid prototype mismatch errors). Or do you say that socklen_t is defined in some standard? This is different matter. -andrej -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/