[Twisted-web] resolving a hostname problem

Raphael Arbuz raphaelarbuz at netcourrier.com
Wed Aug 24 07:13:49 MDT 2005


Hi to all of you,

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?

Cheers!

Raphael




More information about the Twisted-web mailing list