WebSocketListener icon indicating copy to clipboard operation
WebSocketListener copied to clipboard

Message Loss

Open sushmakoulgi opened this issue 9 years ago • 2 comments

When we connect to multiple clients and send data(json string) to them over websocket using WriteAsync. Will there be any loss of messages? How best we can confirm the delivery of perticular message?

sushmakoulgi avatar May 11 '16 12:05 sushmakoulgi

Hi,

Messages may be lost if the connection is broken or half dead. The WebSocket specification does not provide any mechanism for reliable messaging, so if you are worried about messages getting lost, you should implement your own message acknowledgement schema, or use a proper message broker.

Cheers.

vtortola avatar May 11 '16 13:05 vtortola

Thanks for the Quick Response.

sushmakoulgi avatar May 12 '16 05:05 sushmakoulgi