[Twisted-Python] tor hidden service endpoint parser returns a deferred

Glyph Lefkowitz glyph at twistedmatrix.com
Fri May 2 15:16:20 MDT 2014


On May 2, 2014, at 1:02 PM, meejah <meejah at meejah.ca> wrote:

> Another point for this is that "someday" tor will have UDP support...

There's a reason that the existing interfaces all have "stream" in their names :-).

The main reason we didn't do "datagram" at the same time is that there's a pretty clear client/server division in all stream endpoints (one side has to initiate, the other side has to respond) but given the possibilities for multicast / fan-out / fan-in with datagram sockets, "just do what UDP does" didn't seem obviously correct.

I'd love it if someone with an interest would make some datagram endpoint interfaces though.

-glyph

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://twistedmatrix.com/pipermail/twisted-python/attachments/20140502/3f872acd/attachment.html>


More information about the Twisted-Python mailing list