Author Topic: Comet  (Read 379 times)

Offline travo

  • Level 18
  • *
  • Posts: 186
  • Reputation: +2/-0
    • View Profile
Comet
« on: August 22, 2009, 10:02:46 PM »
Ive spent most of today looking a various comet implementations, and sadly, most do not apear to work. The closest I came to was a working long polling example the author claimd was comet.

I want to create a chat room using comet, so I would have less requests.

Does anyone know of a comet implementation that is made in php, and that works? Even just examples would be a great help...

Thanks

Offline Fizzadar

  • Level 8
  • *
  • Posts: 39
  • Reputation: +0/-0
  • Rawr!
    • View Profile
    • Fanatical Dev
Re: Comet
« Reply #1 on: August 22, 2009, 10:19:48 PM »
The only way I can possibly think of would really be long polling, hidden iframe to keep the connection, or similar, and just sleep()ing php for ages. Or you can open a socket not using php, but within php itself, I don't believe there's a non-hacky method.
~Fizzadar

 


SimplePortal 2.3.3 © 2008-2010, SimplePortal