0

I'm writing a python server/client app. If I serialize a function on the client and pass it to the server, can the server use it as a callback? I'm assuming there must be something extra I'd have to do as the client and server are communicating via packets, I just don't know what.

What I actually need is for the server to change one of the client's attributes (when the server is ready to accept another command), and I want an alternative to having the client continuously poll the server. Thanks for any help.

Shaunak
  • 27
  • 3

1 Answers1

1

Take a look at Twisted JSON RPC. A recent SO post: Python Twisted JSON RPC

Community
  • 1
  • 1
9000
  • 39,899
  • 9
  • 66
  • 104