Question about integrating udns in Ruby EventMachine

Iñaki Baz Castillo ibc at aliax.net
Tue Feb 1 13:47:08 MSK 2011


2011/2/1 Iñaki Baz Castillo <ibc at aliax.net>:
>> Also, don't forget about timeouts (timers).
>
> Yes, I don't know yet about udns. In async mode, how would the
> application be notified when a timeout occurs? perhaps a callback is
> then called?

Ok. udns would call dns_timeouts() function.
At Ruby level EventMachine provides timers so I can realized that a
DNS query has not been completed in N seconds.

-- 
Iñaki Baz Castillo
<ibc at aliax.net>


More information about the udns mailing list