pygame and socket.recv
rhodri at wildebst.demon.co.uk
Fri Apr 3 01:07:27 CEST 2009
On Thu, 02 Apr 2009 23:55:48 +0100, Aaron Brady <castironpi at gmail.com>
> I switched to UDP. My average round-trip time is at 50 trips/sec, but
> my worst round-trip time is still in the 10-20 range.
> I also tried buffer sizes of 2**8 and 2**12, with about the same
> So, UDP might free up some processor time, but it still leaves me with
> the problem of retroactive model updates.
You are dealing with a network. Errors *will* happen. Plan for them
from the start, or they will turn your design into spaghetti :-)
Rhodri James *-* Wildebeeste Herder to the Masses
More information about the Python-list