[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Monotone-devel] Failure to connect to IPV6 server
From: |
Stephen Leake |
Subject: |
Re: [Monotone-devel] Failure to connect to IPV6 server |
Date: |
Wed, 19 May 2010 06:01:17 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1 (windows-nt) |
Zack Weinberg <address@hidden> writes:
> On Tue, May 18, 2010 at 4:47 PM, Jack Lloyd <address@hidden> wrote:
>> On Tue, May 18, 2010 at 03:59:06PM -0700, Zack Weinberg wrote:
>>> The problem here is that we are using an ancient networking library
>>> (netxx) that hasn't been updated since 2005 or something like that,
>>> and has no IPv6 support.
>>>
>>> We need a new networking library. Unfortunately, I don't know if
>>> there *is* a good low-level async networking library that meets all
>>> our requirements.
>>
>> Just out of curiosity, how does asio fall down in this context?
>
> Well, it might not, tbh - it just exceeded my pain threshold :) The
> problem I was having was, in asio a network socket, a local domain
> socket, and an anonymous pipe are all different static types, but
> monotone wants to treat them identically, so a big dynamically typed
> wrapper was necessary and writing it was too much work.
We now have a big dynamically typed wrapper in the netsync stuff, so
this may not be so bad anymore.
> Also it may have reimplemented the DNS client rather than calling
> getaddrinfo, which is not sysadmin-friendly.
That is certainly odd.
--
-- Stephe