问题
I would like to know if there are any code references that I can follow to write a very simple example. Many posts or websites just talk about the technology.
回答1:
Yes "it's a variation of Comet, specifically XHR long polling, and/or BOSH."
reference site:
https://www.facebook.com/note.php?note_id=14218138919
来源:https://stackoverflow.com/questions/9579843/does-facebook-use-comet-or-long-polling-for-getting-new-stream-and-messages