Archived

This forum has been archived. Please start a new discussion on GitHub.

How to send data from server to client?

I am testing a parallel algorithm.I want send a big array from server to client, for example:send para[1000].How to do?

Comments

  • marc
    marc Florida
    Just return a sequence as the result of an operation call. Or are you asking how to do callbacks? If so, simply add an Ice object to your client, send a proxy to the server, and have the server invoke a method on this proxy. For an example, see demo/Ice/callback.
  • thank you.
    I am a beginner on Ice.I only want to test my parallel algorithm.
    I want to simply send a array from server to client or from client to server. Is there a function sendmessage or senddata in Ice?
  • marc
    marc Florida
    Please read the Ice manual, this will answer your questions.
  • thank you very much