Re: [Twisted-Python] Information on new endpoints API?

2011-06-12 Thread Glyph Lefkowitz
On Jun 12, 2011, at 9:22 AM, exar...@twistedmatrix.com wrote: > If you want the listen address to be configurable via some configuration > file, or perhaps even in a GUI, > `twisted.internet.endpoints.serverFromString` is one way you might get > this endpoint (in particular, I would emphasize t

Re: [Twisted-Python] Information on new endpoints API?

2011-06-12 Thread Itamar Turner-Trauring
On Sun, 2011-06-12 at 15:48 +0300, Orestis Markou wrote: > Hello, > > I'm curious about the endpoints API that appeared. I've read the > documentation, and I think I understand what it does, but I'm curious > to see what parts of twisted it replaces. A lot of the documentation > on-site is not upd

Re: [Twisted-Python] Information on new endpoints API?

2011-06-12 Thread Orestis Markou
> This is really why we introduced endpoints - to make it possible for > applications to listen on (or connect to) an address that is specified > elsewhere. Previously, the "easy thing to do" was to only support > TCP/IPv4. With endpoints, the "easy thing to do" is to work with any > address

Re: [Twisted-Python] Information on new endpoints API?

2011-06-12 Thread exarkun
On 12:48 pm, ores...@orestis.gr wrote: >Hello, > >I'm curious about the endpoints API that appeared. I've read the >documentation, and I think I understand what it does, but I'm curious >to see what parts of twisted it replaces. A lot of the documentation >on-site is not updated (eg the finger t

[Twisted-Python] Information on new endpoints API?

2011-06-12 Thread Orestis Markou
Hello, I'm curious about the endpoints API that appeared. I've read the documentation, and I think I understand what it does, but I'm curious to see what parts of twisted it replaces. A lot of the documentation on-site is not updated (eg the finger tutorial) and it's not very clear whether one