This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: No _inet_pton() defined?
- From: Brian Dessent <brian at dessent dot net>
- To: cygwin at cygwin dot com
- Date: Sun, 09 May 2004 19:20:06 -0700
- Subject: Re: No _inet_pton() defined?
- Organization: My own little world...
- References: <c7m3ur$29b$1@sea.gmane.org>
- 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/