RTC Forums

Subscription => Support => Topic started by: gyucel on June 18, 2010, 06:54:24 PM



Title: Server calling a function on the Client
Post by: gyucel on June 18, 2010, 06:54:24 PM
Dear Denijel,
Thank you for great products and fast response. I have 1 question more that cant figured out how. I have a client that uploads, downloads large files. Also call lots of functions. So far so good. There is no problem about all.
But, in one case, client calls a function from server, gets the response. Then begins to wait. Server does something and here, The Server needs to call a function from client. How can I do that?

Regards.


Title: Re: Server calling a function on the Client
Post by: D.Tkalcec (RTC) on June 18, 2010, 08:08:08 PM
The Server should never have to call functions on the Client side in order to process a request. The Client should always send enough information to the Server in its request so that the Server can process the request and send back a response without having to ask for more information from the Client.

Btw ... you should use the "SEARCH" option of this Forum to check if your question hasn't already been answered. For example, by searching for "Server calling" you will get the following two topics, closely related to your current question:
Streaming headlines... (https://rtcforum.teppi.net/index.php?topic=61.0)
How to work TRtcDelayedCall? (https://rtcforum.teppi.net/index.php?topic=135.0)

Also, to avoid generating large topics with a lot of unrelated questions in the RTC Forums, please start a new Topic for every question you have and try to shortly describe your question in the Topic subject line. I have split your last topic into two separate topics now to get a similar effect.

Best Regards,
Danijel Tkalcec