[Twisted-Python] UDP answer from different IP

Stephen Thorne stephen at thorne.id.au
Tue Apr 4 23:51:56 MDT 2006


On Wed, 5 Apr 2006 07:08:30 +0200, Wolfgang Eichler <wolfgang.w.eichler at gmx.de> wrote:
>>On Tue, 2006-04-04 at 17:20 +0200, Wolfgang Eichler wrote:
>>> Hello,
>>> I have the situation, that an UDP Server answers a get request using a different IP address (it has 2 addresses). These replies are not mapped to the request. What to do ?
>>> Thanks

How are you setting up your UDP communication? Are you using reactor.listenUDP or .connectUDP? Can you provide a minimal code example?

I don't know about windows, but there is an 'interface' optional arg to both those functions that might be useful.

Stephen.




More information about the Twisted-Python mailing list