delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/07/27/15:11:00

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Wed, 27 Jul 2005 15:12:36 -0400
From: Jason Tishler <jason AT tishler DOT net>
To: cygwin AT cygwin DOT com
Subject: Re: Is cygwin/in.h missing INET_ADDRSTRLEN?
Message-ID: <20050727191236.GB2272@tishler.net>
Mail-Followup-To: cygwin AT cygwin DOT com
References: <20050727172031 DOT GA2104 AT tishler DOT net> <20050727173535 DOT GA7304 AT trixie DOT casa DOT cgf DOT cx>
Mime-Version: 1.0
In-Reply-To: <20050727173535.GA7304@trixie.casa.cgf.cx>
User-Agent: Mutt/1.4.1i
X-IsSubscribed: yes

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019