[Twisted-Python] Async reverse DNS lookup?

Yun Mao maoy at cis.upenn.edu
Mon Sep 27 15:57:33 EDT 2004


I'm currently using socket.gethostbyaddr(ip), and sometimes it will block
my program for quite a while. What's the correct way to do this in
twisted? Do I have to create a thread for that? Thanks!
Yun





More information about the Twisted-Python mailing list