Is cygwin/in.h missing INET_ADDRSTRLEN?

Jason Tishler jason@tishler.net
Wed Jul 27 19:21:00 GMT 2005


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/



More information about the Cygwin mailing list