This is the mail archive of the cygwin 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]
Other format: [Raw text]

Re: Is cygwin/in.h missing INET_ADDRSTRLEN?


Chris,

On Wed, Jul 27, 2005 at 01:35:35PM -0400, Christopher Faylor wrote:
> On Wed, Jul 27, 2005 at 01:20:31PM -0400, Jason Tishler wrote:
> >After Googling around and looking at netinet/in.h on Linux and Solaris,
> >it seems like cygwin/in.h should have the following #defines:
> >
> >    #define INET_ADDRSTRLEN 16
> >    #define INET6_ADDRSTRLEN 46
> >
> >Can someone more knowledgeable in this area comment on the above?
> 
> SUSv3 says that INET_ADDRSTRLEN should be defined, so I've added it.

Thanks!

> I'm not going to define INET6_ADDRSTRLEN since we don't currently
> support ipv6.

I was just looking for the former #define anyway. :,)

Jason

-- 
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6

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


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