This is the mail archive of the
mailing list for the Cygwin project.
RE: BUG - 1.3.n accept fails if NULL sockaddr * argument and other related stuff.
- To: cygwin at cygwin dot com
- Subject: RE: BUG - 1.3.n accept fails if NULL sockaddr * argument and other related stuff.
- From: Borsenkow Andrej <Andrej dot Borsenkow at mow dot siemens dot ru>
- Date: Wed, 1 Aug 2001 12:02:44 +0400
> > 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
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html