Adam Feuer | 11 Dec 2001 17:25
Picon
Favicon

Re: [pygame] Network

Quoting Jan Ekholm <chakie@...>:
> On Tue, 11 Dec 2001, Gustavo Niemeyer wrote:
> >Have you ever heard about soap!? ;-)
> Or if you want some XML-stuff XMLRPC is even easier:
[...]
> Doesn't get any easier than that.

Jan, Gustavo,
  Depends on your application- I've found that the SOAP and XML-RPC
stuff has a lot of latency. In other words, it's quite slow. I think
this is due to setting up a new socket for each connection, and also
parsing the XML.

  For game stuff, either a single long-lived socket or UDP
communication seems better to me.

  To do SOAP or XML-RPC over a single long-lived socket, rather than
setting up a new socket each time, I think you would have to write a
new transport for XML-RPC- which would not be too hard, I think.

  But for simplicity mixed with speed, you can't beat Jan's socket
appoach.

cheers
adam
--
Adam Feuer <adamf@...>
____________________________________
pygame mailing list
pygame-users@...
http://pygame.seul.org

Gmane