Hello,
I have a situation where clients (behind a firewall, blocking incoming 
connections) need to register with a server for the purpose of receiving 
notification of certain events.

The asynchronous client documentation 
http://xmlrpc-c.sourceforge.net/doc/libxmlrpc_client++.html#asynch together 
with the example code xmlrpc_asynch_client.c show, how I can register a 
one-time callback. But my understanding is that this only waits for the server 
side procedure to return, upon the return the callback is executed, and then 
the callback can't be executed again from the server side.

How can I setup a client-server pair, where the server can execute the same 
client callback repeatedly? A workaround is of course to again register the 
client callback immediately whenever the client is calledback from the server. 
But this causes a large overhead.

Kind regards,
A. Kalaghan




Reply via email to