On Feb 22, 12:50 am, Nathan <[EMAIL PROTECTED]> wrote:
> I'm attempting to write a simple little real-time server-client game
> where the server and client talk to each other over the network.
>
> My initial implementation uses the built-in socket module, but I can't
> find a way to flush the socket!  Any suggestions for a simple way for
> fast communications, or a way to make sockets work fast?  (right now,
> the sockets seem to just wait about 2 seconds, and then transmit,
> which is rather funny to watch, but not very playable).

I'm not sure if you will find this easier than Twisted, but it works
for me.

http://exactlysimilar.org/downloads/socketome-0.05.tar.gz

Some (poor) docs here:

http://exactlysimilar.org/docs/socketome/

I won't make any claims to ease of use or suitability, but I will say
I wrote it because I don't like wrestling with Twisted, and I like to
control my own run loop.

I also agree with other posters comments re: UDP. It's hard work, and
you'll most likely end up reimplementing TCP.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pyglet-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pyglet-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to