This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: BUG - 1.3.n accept fails if NULL sockaddr * argument and other related stuff.



> >
> > 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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]