Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com> List-Archive: <http://sources.redhat.com/ml/cygwin/> List-Post: <mailto:cygwin AT cygwin DOT com> List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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 Message-ID: <409EE6D6.620176F6@dessent.net> Date: Sun, 09 May 2004 19:20:06 -0700 From: Brian Dessent <brian AT dessent DOT net> Organization: My own little world... MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: No _inet_pton() defined? References: <c7m3ur$29b$1 AT sea DOT gmane DOT org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Reply-To: cygwin AT cygwin DOT com Adam Clauss wrote: > I got a response saying that Cygwin may not implement _int_pton. Any ideas? I think that's related to IPv6 support, which Cygwin lacks IIRC. You could try something along the lines of: #define inet_pton(a,b,c) inet_aton((b), (struct in_addr *)(c)) Assuming that you have no plans to use IPv6 of course. Brian -- 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/