<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Comet</title><link>https://sourceforge.net/p/rupy/wiki/Comet/</link><description>Recent changes to Comet</description><atom:link href="https://sourceforge.net/p/rupy/wiki/Comet/feed" rel="self"/><language>en</language><lastBuildDate>Fri, 13 Mar 2015 09:59:56 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/rupy/wiki/Comet/feed" rel="self" type="application/rss+xml"/><item><title>Discussion for Comet page</title><link>https://sourceforge.net/p/rupy/wiki/Comet/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Originally posted by: &lt;a class="" href="http://code.google.com/u/106040397758111832210" rel="nofollow"&gt;marc.la...@gmail.com&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;That happens sometimes. Look in the log and try to reproduce it and submit a bug report under the Issues tab. &lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Fri, 13 Mar 2015 09:59:56 -0000</pubDate><guid>https://sourceforge.net5583d4327b373527c8b6271625db94d019e1c3f4</guid></item><item><title>Discussion for Comet page</title><link>https://sourceforge.net/p/rupy/wiki/Comet/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Originally posted by: &lt;a class="" href="http://code.google.com/u/109123435619463375294" rel="nofollow"&gt;vohuynhv...@gmail.com&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I got lost connection with talk app. After some munites, user just send message but can't receive any messages. So, I must reload browser to back normal?... &lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Fri, 13 Mar 2015 09:59:56 -0000</pubDate><guid>https://sourceforge.net9a5b4ed9ad7ba53dcb0d1d249da46d8a026b7c01</guid></item><item><title>Discussion for Comet page</title><link>https://sourceforge.net/p/rupy/wiki/Comet/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Originally posted by: &lt;a class="" href="http://code.google.com/u/106040397758111832210" rel="nofollow"&gt;marc.la...@gmail.com&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Actually talk is long polling. I think you might be looking for streaming; then you need an applet or flash client. JavaScript&lt;a class="" href="/p/rupy/w/edit/JavaScript"&gt;?&lt;/a&gt; has lackluster compatibility for streaming. &lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Fri, 13 Mar 2015 09:59:56 -0000</pubDate><guid>https://sourceforge.netb7a01fac573f0c030f9eaacf8caebe61a8f6991c</guid></item><item><title>Discussion for Comet page</title><link>https://sourceforge.net/p/rupy/wiki/Comet/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Originally posted by: &lt;a class="" href="http://code.google.com/u/115378551167741035774" rel="nofollow"&gt;deepakra...@gmail.com&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;its really nice to see rupy , i checked your comet app but its continuous polling ,please publish any example on long polling , Thanks for this nice stuff . &lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Fri, 13 Mar 2015 09:59:56 -0000</pubDate><guid>https://sourceforge.net1fd1bc8432a4e07ce705e40c716b6640ea2f5f60</guid></item><item><title>Comet modified by Anonymous</title><link>https://sourceforge.net/p/rupy/wiki/Comet/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;em&gt;&lt;strong&gt;This covers Javascript longpoll&lt;/strong&gt;&lt;/em&gt; for custom client and Flash use &lt;a class="" href="https://code.google.com/p/rupy/wiki/CometStream" rel="nofollow"&gt;cometstream&lt;/a&gt;. &lt;/p&gt;
&lt;p&gt;XHR &lt;br /&gt;
XMLHttpRequest &lt;/p&gt;
&lt;p&gt;XDR&lt;strong&gt;1&lt;/strong&gt;&lt;br /&gt;
Cross Domain Request &lt;/p&gt;
&lt;p&gt;&lt;em&gt;First, try either the &lt;a class="" href="http://sprout.rupy.se" rel="nofollow"&gt;XHR&lt;/a&gt; &lt;strong&gt;or2&lt;/strong&gt; &lt;a class="" href="http://hemlistan.se/om" rel="nofollow"&gt;XDR&lt;/a&gt; chat demo, it's the little black box in the bottom right corner!&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;If you want to chat between XDR &lt;em&gt;&lt;strong&gt;and2&lt;/strong&gt;&lt;/em&gt; XHR chats make sure you use &lt;em&gt;&lt;strong&gt;two different browser applications2&lt;/strong&gt;&lt;/em&gt;. &lt;/p&gt;
&lt;p&gt;To create and join a channel type &lt;em&gt;/join &lt;code&gt;&amp;lt;name&amp;gt;&lt;/code&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;To leave the channel type &lt;em&gt;/exit&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Type &lt;em&gt;/list&lt;/em&gt; for channel listing and &lt;em&gt;/color &lt;code&gt;&amp;lt;rrggbb&amp;gt;&lt;/code&gt;&lt;/em&gt; to change color. &lt;/p&gt;
&lt;hr /&gt;
&lt;p&gt;With XDR long-poll you can add the chat widget to any page, notwithstanding of platform and domain, without serverside modifications. In a few rows of html, some images, one css and js file; you're truly minutes away from having your own industrial strength, real-time, comet chat; accessible from behind the thickest of firewalls. &lt;/p&gt;
&lt;p&gt;Try it now: &lt;a class="" href="http://rupy.googlecode.com/files/talk-client-0.5.zip" rel="nofollow"&gt;download&lt;/a&gt;! &lt;/p&gt;
&lt;hr /&gt;
&lt;p&gt;Comet is all about corporate firewalls, because you want to reach everyone, everywhere, you need to use HTTP on port 80. Now you can push data over HTTP on port 80 in real-time. &lt;/p&gt;
&lt;p&gt;Rupy enables you to connect 10000+ concurrent users with one server, this number can scale to 30000+ depending on your application. &lt;/p&gt;
&lt;p&gt;We use long-polling for both transports because it's the most robust way to handle gateway timeouts and also the only implementation that works on all browsers without fragmenting the code (implementing different solutions for some browsers). &lt;/p&gt;
&lt;p&gt;In web-browser context also known as 'Ajax Push', see &lt;a class="" href="http://en.wikipedia.org/wiki/Comet_%28programming%29" rel="nofollow"&gt;Comet&lt;/a&gt; for more information. &lt;/p&gt;
&lt;hr /&gt;
&lt;p&gt;Download the &lt;a class="" href="http://rupy.googlecode.com/files/talk-1.1.zip" rel="nofollow"&gt;talk&lt;/a&gt; application and extract it. Enter the extracted talk/ folder and start rupy with either the &lt;em&gt;run.bat&lt;/em&gt; or &lt;em&gt;run.sh&lt;/em&gt; script depending on your OS. Then run &lt;em&gt;ant&lt;/em&gt; in that same talk/ folder, this should build and deploy the talk.jar application to your rupy server. Lastly, browse to &lt;a href="http://localhost:8000/talk.html" rel="nofollow"&gt;http://localhost:8000/talk.html&lt;/a&gt; and chat in real-time over HTTP! &lt;/p&gt;
&lt;p&gt;If you want to use rupy talk with apache enable mod_proxy and add something along these lines: &lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="nt"&gt;&amp;lt;VirtualHost&lt;/span&gt; &lt;span class="err"&gt;*:80&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
        ProxyPass /poll http://localhost:8000/poll
        ProxyPass /broadcast http://localhost:8000/broadcast
&lt;span class="nt"&gt;&amp;lt;/VirtualHost&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;hr /&gt;
&lt;p&gt;&lt;strong&gt;1&lt;/strong&gt; Also known as XSS or cross site scripting. &lt;/p&gt;
&lt;p&gt;&lt;strong&gt;2&lt;/strong&gt; The session is reused for one browser type, so you need to use two different browser types (Internet Explorer, Firefox, Chrome or Safari). Also the HTTP spec. only allows clients to connect maximum two sockets per domain; so the long-poll requests will lock the browser if you try to chat between XHR tabs in the same browser type. &lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Fri, 13 Mar 2015 09:59:56 -0000</pubDate><guid>https://sourceforge.neteac999f598d2fa9324dd2601edea21a2f1ff5a0b</guid></item></channel></rss>