calling server side function

2009-10-28 Thread Paul Hartley
I have a socket set up between a client and server program. Let's say that I serialize (pickle) some data in the client and send it to the server with the intention of calling a function in the server to process the data. How would one execute the function? This is not for a web-based

Re: calling server side function

2009-10-28 Thread Gabriel Genellina
En Wed, 28 Oct 2009 04:04:50 -0300, Paul Hartley luapyelt...@hotmail.com escribió: I have a socket set up between a client and server program. Let's say that I serialize (pickle) some data in the client and send it to the server with the intention of calling a function in the server to

Re: calling server side function

2009-10-28 Thread Chris Colbert
I second the suggestion for XML-RPC... It also solves the security issue in your example, by only exporting functions you specifically register... look at xmlrpclib in the standard python library. On Wed, Oct 28, 2009 at 8:59 AM, Gabriel Genellina gagsl-...@yahoo.com.ar wrote: En Wed, 28 Oct

Re: calling server side function

2009-10-28 Thread Tim Arnold
Gabriel Genellina gagsl-...@yahoo.com.ar wrote in message news:mailman.2155.1256716617.2807.python-l...@python.org... En Wed, 28 Oct 2009 04:04:50 -0300, Paul Hartley luapyelt...@hotmail.com escribió: I have a socket set up between a client and server program. Let's say that I serialize