Answer the question
In order to leave comments, you need to log in
COMET and Websockets transports?
I am writing a work on COMET and the question arose of which implementation approaches should be analyzed.
According to javascript.ru the list is:
1. Polling
2. Long-poll
3. Infinite IFrame
4. XMLHTTPRequest (interactive)
5. Multipart XMLHTTPRequest
6. Server-Sent Events young approach
But what about websockets? For some reason, I always thought that they were also included in this list. Or is websockets more of an alternative to the whole COMET technology, which should be considered as a hack of the http protocol?
Question: is websockets COMET or its alternative?
Answer the question
In order to leave comments, you need to log in
comet describes a model of work when the server sends data to the user without his request, in fact, websocket is a variant of the implementation of comet from html5, but there is no information because the chip is still new.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question