[Twisted-Python] Unreliable UDP

Sven-Erik Tiberg Sven-Erik.Tiberg at ltu.se
Thu Oct 19 03:21:56 EDT 2006

Appreciate any info on semi-reliable UDP Twisted-based projects? 
Sven-Erik Tiberg.

-----Original Message-----
From: twisted-python-bounces at twistedmatrix.com
[mailto:twisted-python-bounces at twistedmatrix.com] On Behalf Of Jean-Paul
Sent: den 19 oktober 2006 05:27
To: Twisted general discussion
Subject: Re: [Twisted-Python] Unreliable UDP

On Wed, 18 Oct 2006 21:47:51 -0500, Mike Wyatt <mwyatt at wi.rr.com> wrote:
>Does Twisted provide any support for reliable UDP?  I'm looking for a 
>nice networking library for and real-time (i.e. non-TCP) game

First, just use TCP, unless you have already implemented the game using
TCP, done performance testing and discovered problems tied to TCP which
are resolved by UDP.

Assuming you have done that, come up with a list of the kind of traffic
your game needs to exchange between hosts.  Based on that, you may be
able to narrow your search (there are lots of kinds of "reliable" UDP)
or you may find that existing solutions aren't suitable.

Twisted itself doesn't offer any kind of reliability layering on top of
UDP, but there are various Twisted-based projects which use UDP for
semi-reliable messaging.  Whether any of them might be of use to you
depends on how closely your message model matches theirs.

Most likely, you'll end up implementing something yourself, assuming you
actually need a UDP-based solution at all.


Twisted-Python mailing list
Twisted-Python at twistedmatrix.com

More information about the Twisted-Python mailing list