This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: No _inet_pton() defined?


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]