linereceiver

Implementing comet on the client side

I'm trying to implement comet in my application and, being inexperienced with JavaScript, I'm not sure how to do the client side. When the server receives a request, it just keeps it open and writes data to it when necessary: def render_GET(self, request): print "connected" request.write("Initiated\r\n") reactor.callLater(r...