Home Help Center

server communicate with client without client's request

how did i let server call object method on client without client sent a request to server and client served as server? for example, i want to server send data at 30 times per seconds,but i didn't want to client send request at 30 times per seconds and i didn't want to client served as a server.

Comments

  • marcmarc FloridaAdministrators, ZeroC Staff Marc LaukienOrganization: ZeroC, Inc.Project: The Internet Communications Engine ZeroC Staff
    You must either poll the server 30 times per seconds, or the client must also act as a server, so that the server can send the data to the client 30 times per second. There is no other way.

    If you want to avoid that the client has to accepts connections, then you can use Glacier. Glacier allows the client to use outgoing connections to receive incomming requests as well.
Sign In or Register to comment.