Re: IPv6 support and Windows

From: Amos Jeffries <squid3@dont-contact.us>
Date: Thu, 16 Aug 2007 10:55:34 +1200 (NZST)

> Hi Amos,
>
> At 07.25 15/08/2007, Amos Jeffries wrote:
>> >> Hi Amos,
>> >>
>> >> Not good news here ... :-(
>> >>
>> >> We have a problem:
>> >> You have used getaddrinfo() and freeaddrinfo() functions, but on
>> >> Windows they are available only starting from Windows XP. This means
>> >> that your code, even if compiled without IPv6 support, cannot run on
>> >> Windows 2000.
>> >>
>> >> I'm also not sure if getaddrinfo() and freeaddrinfo() functions are
>> >> available on all systems, someone know something about ?
>> >
>>
>>I have just imported and properly wrapped the libesmtp getaddrinfo and
>>supporting implementation from fetchmail 6.3.8.
>>
>>I have done some simple configure and compile tests here. Its time to
>> pass
>>it back to you Guido for the win32 test.
>
> I think that will be better for us to use a wrapper for the
> functions, something like squid-getaddrinfo(), this will allow a
> simpler usage on Windows (see my previous mail).

True. x seems to be the preferred prefix.
I'll also see about wrap/include of the dependancy functions individually.

ANYONE:
  Is anyone able to confirm for me whether I'm supposed to be using
AC_SEARCH_LIBS() or AC_FUNC_CHECK() to do that properly?

>
>>I'm kind of expecting another set of errors off these. It's just a matter
>>of which ones.
>
> For now look for an undefined "IPv6" into ACLIP.cc (line 296).

Fixed.

>
> See tomorrow, I'm going to a barbecue with friends, today in Italy is
> a Holiday. :-)
>

happy holiday :-)

Amos
Received on Wed Aug 15 2007 - 16:55:37 MDT

This archive was generated by hypermail pre-2.1.9 : Fri Aug 31 2007 - 12:00:05 MDT