A C/C++ comet server