Writing a small battleship game server in Python
Michael Goettsche
mail at tuxipuxi.org
Fri Aug 12 09:37:22 EDT 2005
On Thursday 11 August 2005 19:03, googlenews at tooper.org wrote:
> Why not using directly SOAP ?
>
> A minimalistic 'Hello world' client looks like :
>
> from SOAPpy import SOAPProxy
>
> server= SOAPProxy("http://localhost:8080")
> print server.Hello("world")
>
> and the server side like :
>
> from SOAPpy import SOAPServer
>
> def Hello(name):
> print "Wishing "+name+" hello !"
> return "Hello "+name
>
> server= SOAPServer(("localhost",8080))
> server.registerFunction(Hello)
> server.serve_forever()
>
> Difficult to make it simpler isn't it ?
Thanks to you too and the same question for you. :-)
How well will this server work with clients written in other
languages/toolkits without the need of installing additional things? for
example, does Delphi have a Soap implementation? IIRC Qt doesn't offer one
for free.
Thanks,
Michael
More information about the Python-list
mailing list