Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
X-Envelope-Sender-Is: Andrej.Borsenkow@mow.siemens.ru (at relayer david.siemens.de)
From: Borsenkow Andrej <Andrej.Borsenkow@mow.siemens.ru>
To: cygwin@cygwin.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/

