I've not used a comet server before, but would a browser interface like 
Watir-webdriver or Mechanize work for you?

-- 
Posted via http://www.ruby-forum.com/.