Client/Server Tutorial?

Kragen Sitaker kragen at pobox.com
Sat Mar 30 04:12:18 EST 2002


"Irmen de Jong" <irmen at NOSPAMREMOVETHISxs4all.nl> writes:
> "Kragen Sitaker" <kragen at pobox.com> wrote in message
> news:83u1r43zav.fsf at panacea.canonical.org...
> > "Irmen de Jong" <irmen at NOSPAMREMOVETHISxs4all.nl> writes:
> > > > Is there any good tutorial for creating advanced client/server apps
> > > > (like online games) out there? i tried to make one 2 times, and both
> > >
> > > May I suggest you take a look at Pyro;   http://pyro.sourceforge.net
> > > It may be just what you want/need for easy distributed application
> development.
> > > You don't have to do any network programming when using Pyro.
> >
> > I don't think Pyro is suitable for online games.  It's an RPC layer.
> 
> Yes, but what is wrong with that?

'RPC' usually means 'synchronous'.

> Your game clients communicate with a game server, voila, RPC. A single or a few
> Pyro objects could perfectly be the game server, can't they?
> Your server publishes game state updates. Voila, Pyro's event service.

I didn't know Pyro had an event service.  I should look at that.  Thanks!




More information about the Python-list mailing list