I wish to create my own server. The requirements for the server are that it should serve html pages and also provide comet streaming functionality, but on the same port. For comet, I find StreamHub to be a good resource, and I need a server like Jetty for serving web pages. How can i combine the two ( or use some other servers ) to suit my needs.
I do not want Comet by websockets or Long Polling. Please suggest all possible combinations for my needs. If possible, I'd like to host PHP pages on that too, but for now getting started with HTML should suffice.