Brian Candler wrote:
> Raul Parolari wrote:
>> a) I do not think that there can be a DNS lookup between a 'select(x, y, 
>> z)' and a 'socket.recvfrom'.
> 
> But in Ruby, recvfrom itself (unfortunately) does a reverse DNS lookup 
> on the IP address of the peer. You really need to turn this off.

You could try recv, which I don't *think* does any DNS lookups.  Also 
setting do_not_reverse_lookup should overcome the related delay...
-- 
Posted via http://www.ruby-forum.com/.