twisted: not doing DNS resolutions?

Christopher Subich spam.csubich+block at block.subich.spam.com
Thu Jun 30 04:06:35 EDT 2005


Christopher Subich wrote:
>  From what I can tell, the problem lies in that Twisted simply isn't 
> performing the DNS resolutions.  From the connection factory's 
> startedConnecting method, print connector.getDestination() results in:
> 
> IPv4Address(TCP, 'hostname', port)

Update: after doing some diving in the twisted source, it is supposed to 
do that.  My guess is that either it thinks the hostname is a valid ip 
address (unlikely), or a callback isn't actually getting called.  This 
confuses me.



More information about the Python-list mailing list