Re: [Twisted-Python] twisted.names.client.getHostByName() vs. reactor.resolve()

2014-07-13 Thread exarkun
On 02:16 pm, rut...@osu.edu wrote: Hi, I need to do a DNS resolution of a hostname to an IPv4 address in order to then send out a UDP packet via twisted’s APIs. There appears to be 2 ways to do this. Is it better to use twisted.names.client.getHostByName(), or is it better to use reactor.re

[Twisted-Python] twisted.names.client.getHostByName() vs. reactor.resolve()

2014-07-13 Thread Benjamin Rutt
Hi, I need to do a DNS resolution of a hostname to an IPv4 address in order to then send out a UDP packet via twisted’s APIs. There appears to be 2 ways to do this. Is it better to use twisted.names.client.getHostByName(), or is it better to use reactor.resolve()? Is there a bias for one over t

Re: [Twisted-Python] Tubes!

2014-07-13 Thread Thomas Hervé
On Thu, Jul 10, 2014 at 10:37 PM, Glyph Lefkowitz wrote: > While I currently believe that Tubes's API has firmed up and its current API > is suitable for general purpose use, I have believed that at various points > in the past as well when it was completely wrong. This sentiment is very > much o