M
M
Max Kuznetsov2011-06-09 19:14:13
comet
Max Kuznetsov, 2011-06-09 19:14:13

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

1 answer(s)
P
Puma Thailand, 2011-06-09
@opium

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.

Similar questions

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question