D
D
Denis Savitsky2015-05-27 21:44:01
Communication protocols
Denis Savitsky, 2015-05-27 21:44:01

Which protocol to choose for a cross-browser messenger?

Tell me how to choose a protocol for a cross-browser messenger, so that on its basis you can write a communication utility that would support any browser, would not slow down, would work stably with a large number of connections and poor communication.
Where to look, what parameters to rely on?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
X
xmoonlight, 2015-05-27
@xmoonlight

The protocol is websocket.
Bad connection - Don't forget to control how packets are sent from the browser. (try-catch)
Auto-recovery of the connection after the loss of the Internet connection is also done here.
Where to look? (conceptual): websocket examples and event handling in js.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question