views:

85

answers:

2

Could you tell me some http-streaming tutorial or example ( used also by Gmail ) ?

I want to create a simple chat for college project.

Attention: I am talking about Http-streaming and NOT long-polling.

Thanks ;)

+1  A: 

Check here. Some cool intro about Comet. There is also a mention for Jetty and its free chat client but they are in Java not PHP. Will keep looking and post if I find something useful with PHP. Just FYI, jquery has a plugin for comet but I haven't tried it yet.

pinaki
jquery has a plugin for long-polling. I need a http-streaming example and not long-polling as I write above ;)
xRobot
pinaki
Just saw your comment come up. What I know is that long-polling is AJAX, http-streaming is Comet (or server push). Am I getting this wrong?
pinaki
So i knew wrong :). Just confirmed from wikipedia. Not sure what technology the other link uses though. It says comet and as I just read Comet is an umbrella term for both http-streaming and long polling. Let me know if you manage to find anything on this.
pinaki
ok.......... :)
xRobot
+1  A: 

"Comet" is just an umbrella term that includes HTTP streaming.

For some good examples, you can check out our WebSync demos.

For some tutorials on using it, you can check out the tutorials.

jvenema