RTC Forums

Subscription => Support => Topic started by: jorgen on August 08, 2012, 03:03:39 PM



Title: Send message from server to IOS Client
Post by: jorgen on August 08, 2012, 03:03:39 PM
Do you have a simple demo project how to send a message to client from the server?

It should be used on an IOS device.


Jørgen


Title: Re: Send message from server to IOS Client
Post by: D.Tkalcec (RTC) on August 08, 2012, 05:00:47 PM
There is no mechanism for sending messages from Servers to Clients, without Clients explicitly "asking" the Server for that message.

You can either post a Requests from the Client to the Server, then have the Server respond with "the message", or ... make the Client call a remote function on the Server, then have the Server return "the message" as a Result.

From the Server's POV, there is no distinction between Clients running on different platforms, so the Server-side implementation will be the same for an iOS Client and for a Windows, MacOSX and Linux Client.

Best Regards,
Danijel Tkalcec