I am building a comet service which will push new data to the client on mobile devices. For this, I am using websockets to deliver messages to the client.

The problem I am facing here is the reliable delivery of a message to the client. How can I be sure that the data I sent over the websocket was actually received by the client?

Proposed solutions:

  • Sending a custom ack from the client and block other messages till then.
  • Sending a hint to the client about the new data and let it fetch the data by itself.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.