monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Monotone-devel] Failure to connect to IPV6 server


From: Zack Weinberg
Subject: Re: [Monotone-devel] Failure to connect to IPV6 server
Date: Tue, 18 May 2010 17:56:18 -0700

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.  Also it may
have reimplemented the DNS client rather than calling getaddrinfo,
which is not sysadmin-friendly.

zw



reply via email to

[Prev in Thread] Current Thread [Next in Thread]