On Fri, 27 Feb 2004, Gordon Henriksen wrote: > inet_pton is preferrable, as it supports IPv6.
> That is, inet_pton should trump inet_aton if both are available. Probably, but that would require testing to see if inet_pton is available. That information is not available from perl5's Configure, and there currently is no infrastructure in parrot for making such a test. Obviously that needs to change eventually. > On Mac OS X, the preferred technique would be to weak link with > inet_pton and test for its availability at run-time. (inet_pton is not > available on 10.1, but is available on 10.3.) This would be another case > entirely. Yes, indeed, that's the sort of thing that makes testing for function availability so much fun :-). -- Andy Dougherty [EMAIL PROTECTED]