lua-users home
lua-l archive

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


On 11/19/13, Sean Conner <sean@conman.org> wrote:

>> 3) Linux has a lovely getaddrinfo_a() that does lookups in parallel...
>> you
>> could start multiple worker threads with something like lua-lanes to do
>> individual getaddrinfo()'s but that's a lot of responsibility/liability
>> on
>> you... I wish getaddrinfo_a() were portable XD
>
>   Which distribution of Linux?  I tried four different Linux distributions
> and none of them had getaddrinfo_a().

Note from `man 3 getaddrinfo_a`:
CONFORMING TO
    These functions are GNU extensions; they first appeared in glibc
in version 2.2.3.

Debian 7.0 in my case.