[Gajim-devel] blocking getaddrinfo

Yann Leboulanger asterix at lagaule.org
Fri Jun 27 11:45:05 CEST 2008


Tomas Karasek wrote:
> What I'm looking for is either
>  - some elegant way how to do both A and AAAA requests asynchronously
>    (like nonblocking getaddrinfo) which would be a nice solution
> or
>  - nonblocking detect that network is down which would allow to avoid
>    needless call of getaddrinfo (temporary solution until some
> suitable        library appears)
> 
> Do you have any ideas/suggestions on this?
> 

Another solution is to create python bindings for libasyncns:
http://0pointer.de/lennart/projects/libasyncns/

-- 
Yann


More information about the Gajim-devel mailing list