[Twisted-Python] Unreliable UDP

Christopher Armstrong radix at twistedmatrix.com
Thu Oct 19 13:47:13 EDT 2006


On 10/19/06, Mike Wyatt <mwyatt at wi.rr.com> wrote:
>  As for using TCP, that is a valid option.  It would be even nicer to just
> start using a reliable UDP layer right from the start, though.  I'd rather
> not reinvent the wheel if I don't have to.
>
>  By "reliable", I mean a library that guarantees delivery and keeps the
> packets in order.  Similar to enet (http://enet.cubik.org/), but for Python.

Really, truly, honestly, this doesn't make sense. You want *both*
reliability *and* guaranteed delivery order: that is precisely what
TCP does. Why do you want to use anything else? If you don't want to
reinvent the wheel, use TCP.


-- 
Christopher Armstrong
International Man of Twistery
http://radix.twistedmatrix.com/
http://twistedmatrix.com/
http://canonical.com/




More information about the Twisted-Python mailing list