[Twisted-Python] UDP answer from different IP

James Y Knight foom at fuhm.net
Wed Apr 5 09:52:33 MDT 2006


On Apr 4, 2006, at 11:20 AM, 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

You need to listen separately on each IP address. Unfortunately  
neither twisted nor python has an API for enumerating all the  
addresses of a host, so you'll have to configure them  manually.

James




More information about the Twisted-Python mailing list