RTC Forums
November 24, 2024, 06:55:49 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   Home   Help Login Register  
Pages: [1]
  Print  
Author Topic: Send message from server to IOS Client  (Read 4366 times)
jorgen
RTC Expired
*
Posts: 20


« 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
Logged
D.Tkalcec (RTC)
Administrator
*****
Posts: 1881


« Reply #1 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
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.024 seconds with 17 queries.