[Twisted-web] resolving a hostname problem

Tommi Virtanen tv at twistedmatrix.com
Wed Aug 24 11:15:56 MDT 2005


Raphael Arbuz wrote:
> I;m trying to impleting hostname resolution in a program that aimed to
> exchange UDP packets with his peers.
> 
> What I do is add the two lines:
>     dd = reactor.resolve(IP)
>     dd.addCallback(self.call, distPort, password, destroy)
> 
> To my program, but when I do that, I don't reach the call function. Seems
> like something would be missing. Does anyone have a clue?

Yes, we do.

What is missing is the rest of your program; that is, the parts
that contain the bug.

You owe the Oracle a bottle of crystal ball polish[1].


[1] You ain't an old beard if you don't know what that refers to.[2]

[2] Yes, the grovel _was_ insufficient.



More information about the Twisted-web mailing list