Libevent + Comet (Long-Polling / Http-Stream)

1.2k Views Asked by At

Hey folks! Im looking for a good tutorial on how to implement a long polling or http stream server based on libevent. The few examples which google showed up are either with errors or not exactly what i am looking for. Perhaps anyone of you guys has already experience with libevent and longpolling/http-Stream/Comet and could help with some examples?

Thanks in advance!

2

There are 2 best solutions below

2
On BEST ANSWER
0
On

Here's another example: https://github.com/ideawu/icomet, a long-polling comet server built with libevent 2.