No _inet_pton() defined?

Brian Dessent brian@dessent.net
Mon May 10 02:23:00 GMT 2004


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/



More information about the Cygwin mailing list