<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: True Javascript Sockets?</title>
	<atom:link href="http://ajaxian.com/archives/true-javascript-sockets/feed" rel="self" type="application/rss+xml" />
	<link>http://ajaxian.com/archives/true-javascript-sockets</link>
	<description>Cleaning up the web with Ajax</description>
	<lastBuildDate>Thu, 17 May 2012 07:43:39 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: sgware</title>
		<link>http://ajaxian.com/archives/true-javascript-sockets/comment-page-1#comment-273104</link>
		<dc:creator>sgware</dc:creator>
		<pubDate>Sun, 26 Apr 2009 19:12:17 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/archives/true-javascript-sockets#comment-273104</guid>
		<description>Err, sorry... in my above comment, I meant to say &lt;policy-file-request/&gt;(policy-file-request) requests, but the HTML got messed up.</description>
		<content:encoded><![CDATA[<p>Err, sorry&#8230; in my above comment, I meant to say &lt;policy-file-request/&gt;(policy-file-request) requests, but the HTML got messed up.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sgware</title>
		<link>http://ajaxian.com/archives/true-javascript-sockets/comment-page-1#comment-273103</link>
		<dc:creator>sgware</dc:creator>
		<pubDate>Sun, 26 Apr 2009 19:11:02 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/archives/true-javascript-sockets#comment-273103</guid>
		<description>The problem I&#039;ve always run into in trying to use Flash is the security concerns.  You can write a server to handle  queries, but that seems overly complicated.

So I decided to use a tiny, invisible Java applet instead:
http://stephengware.com/proj/javasocketbridge</description>
		<content:encoded><![CDATA[<p>The problem I&#8217;ve always run into in trying to use Flash is the security concerns.  You can write a server to handle  queries, but that seems overly complicated.</p>
<p>So I decided to use a tiny, invisible Java applet instead:<br />
<a href="http://stephengware.com/proj/javasocketbridge" rel="nofollow">http://stephengware.com/proj/javasocketbridge</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marton</title>
		<link>http://ajaxian.com/archives/true-javascript-sockets/comment-page-1#comment-182402</link>
		<dc:creator>Marton</dc:creator>
		<pubDate>Tue, 14 Nov 2006 00:18:04 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/archives/true-javascript-sockets#comment-182402</guid>
		<description>Seems that Flash 9 has limits, since i can&#039;t use this script either...

anyone who know how to get Flash 8 (not 9)</description>
		<content:encoded><![CDATA[<p>Seems that Flash 9 has limits, since i can&#8217;t use this script either&#8230;</p>
<p>anyone who know how to get Flash 8 (not 9)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Victor</title>
		<link>http://ajaxian.com/archives/true-javascript-sockets/comment-page-1#comment-118668</link>
		<dc:creator>Victor</dc:creator>
		<pubDate>Sat, 07 Oct 2006 13:23:06 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/archives/true-javascript-sockets#comment-118668</guid>
		<description>It doesn&#039;t really matter if the SWF can be decompiled and reverse-engineered. The worse that can happen is a DOS attack, which is trackable. Besides, anyone could write a plain old JavaScript that will do superfluous polling. It&#039;s up to the CGI app to recognize and deal with flood attacks.

Since AJAX uses Pull methods, I welcome this SWF socket solution -- which allows Push applications. This reduces bandwidth costs (for client and server), redundant polling, DOS hacking, and database queries.</description>
		<content:encoded><![CDATA[<p>It doesn&#8217;t really matter if the SWF can be decompiled and reverse-engineered. The worse that can happen is a DOS attack, which is trackable. Besides, anyone could write a plain old JavaScript that will do superfluous polling. It&#8217;s up to the CGI app to recognize and deal with flood attacks.</p>
<p>Since AJAX uses Pull methods, I welcome this SWF socket solution &#8212; which allows Push applications. This reduces bandwidth costs (for client and server), redundant polling, DOS hacking, and database queries.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://ajaxian.com/archives/true-javascript-sockets/comment-page-1#comment-47898</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Mon, 17 Jul 2006 05:04:05 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/archives/true-javascript-sockets#comment-47898</guid>
		<description>I can use this to connect to a server on localhost, but when I bind that same server to my network IP in order to make it available over the web, SocketJS can no longer connect.

It&#039;s not the router because I&#039;ve DMZ&#039;ed everything to my computer and I can connect to other servers on my computer from the web.

SocketJS won&#039;t even to connect to google:80.</description>
		<content:encoded><![CDATA[<p>I can use this to connect to a server on localhost, but when I bind that same server to my network IP in order to make it available over the web, SocketJS can no longer connect.</p>
<p>It&#8217;s not the router because I&#8217;ve DMZ&#8217;ed everything to my computer and I can connect to other servers on my computer from the web.</p>
<p>SocketJS won&#8217;t even to connect to google:80.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: manfred</title>
		<link>http://ajaxian.com/archives/true-javascript-sockets/comment-page-1#comment-35594</link>
		<dc:creator>manfred</dc:creator>
		<pubDate>Sun, 25 Jun 2006 20:08:19 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/archives/true-javascript-sockets#comment-35594</guid>
		<description>Danny, do you use flash player version 8? It seems that SetVariable does not work with this version.</description>
		<content:encoded><![CDATA[<p>Danny, do you use flash player version 8? It seems that SetVariable does not work with this version.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Danny</title>
		<link>http://ajaxian.com/archives/true-javascript-sockets/comment-page-1#comment-34714</link>
		<dc:creator>Danny</dc:creator>
		<pubDate>Sat, 24 Jun 2006 13:13:39 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/archives/true-javascript-sockets#comment-34714</guid>
		<description>No working:

Error: window.document.socket.SetVariable is not a function
Source File: http://dev.dschini.org/socketjs/
Line: 93

How to make fixing?</description>
		<content:encoded><![CDATA[<p>No working:</p>
<p>Error: window.document.socket.SetVariable is not a function<br />
Source File: <a href="http://dev.dschini.org/socketjs/" rel="nofollow">http://dev.dschini.org/socketjs/</a><br />
Line: 93</p>
<p>How to make fixing?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: manfred</title>
		<link>http://ajaxian.com/archives/true-javascript-sockets/comment-page-1#comment-33138</link>
		<dc:creator>manfred</dc:creator>
		<pubDate>Thu, 22 Jun 2006 18:15:23 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/archives/true-javascript-sockets#comment-33138</guid>
		<description>Hi, I just found this article linking to that socket thing i did recently and thought I have to comment some things.
- I used Flash instead of heavy activex or java solution because for me this simply works better and is faster.
- I do not think there is any security issue by decompiling swf socket client sources. You can theoretically sniff any client connection. Does not matter if it is irssi, mirc, xchat. A secure server is important. If you want to implement secure connections or user authentification you might think about a more secure way.
- Developing a multiuser application is difficult. And you cannot compare it with polling (like ajax) or even do benchmarks because that is something completely different.
I do not take SocketJS too serious. I was just playing with it. However I do believe that one could add some nice behaviour to his JS application.
Regards - Manfred</description>
		<content:encoded><![CDATA[<p>Hi, I just found this article linking to that socket thing i did recently and thought I have to comment some things.<br />
- I used Flash instead of heavy activex or java solution because for me this simply works better and is faster.<br />
- I do not think there is any security issue by decompiling swf socket client sources. You can theoretically sniff any client connection. Does not matter if it is irssi, mirc, xchat. A secure server is important. If you want to implement secure connections or user authentification you might think about a more secure way.<br />
- Developing a multiuser application is difficult. And you cannot compare it with polling (like ajax) or even do benchmarks because that is something completely different.<br />
I do not take SocketJS too serious. I was just playing with it. However I do believe that one could add some nice behaviour to his JS application.<br />
Regards &#8211; Manfred</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dan</title>
		<link>http://ajaxian.com/archives/true-javascript-sockets/comment-page-1#comment-33080</link>
		<dc:creator>Dan</dc:creator>
		<pubDate>Thu, 22 Jun 2006 16:23:37 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/archives/true-javascript-sockets#comment-33080</guid>
		<description>@Reader: The fact that the SWF can be decompiled isn&#039;t a huge deal. Since they can&#039;t replace your SWF with theirs, the details of what you are doing shouldn&#039;t matter. I was referring to the SWF allowing only certain types of traffic, to certain hosts, at a restricted frequency. By restricting these, you have a chance of keeping this hacked-togehter approach from blowing up in your face.</description>
		<content:encoded><![CDATA[<p>@Reader: The fact that the SWF can be decompiled isn&#8217;t a huge deal. Since they can&#8217;t replace your SWF with theirs, the details of what you are doing shouldn&#8217;t matter. I was referring to the SWF allowing only certain types of traffic, to certain hosts, at a restricted frequency. By restricting these, you have a chance of keeping this hacked-togehter approach from blowing up in your face.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Strass</title>
		<link>http://ajaxian.com/archives/true-javascript-sockets/comment-page-1#comment-32976</link>
		<dc:creator>Strass</dc:creator>
		<pubDate>Thu, 22 Jun 2006 13:34:44 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/archives/true-javascript-sockets#comment-32976</guid>
		<description>DHH mentionned this possibility too during the last Canada on Rails</description>
		<content:encoded><![CDATA[<p>DHH mentionned this possibility too during the last Canada on Rails</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mr. Curious</title>
		<link>http://ajaxian.com/archives/true-javascript-sockets/comment-page-1#comment-32957</link>
		<dc:creator>Mr. Curious</dc:creator>
		<pubDate>Thu, 22 Jun 2006 13:01:04 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/archives/true-javascript-sockets#comment-32957</guid>
		<description>Has anyone done benchmarks on the performance hit of something like this versus normal polling?  Obviously only authenticating a user once and just sending and receiving data would be a lovely alternative to rechecking them everytime they do an ajax call, but how well would this work on a system with hundreds of simultaneous users?</description>
		<content:encoded><![CDATA[<p>Has anyone done benchmarks on the performance hit of something like this versus normal polling?  Obviously only authenticating a user once and just sending and receiving data would be a lovely alternative to rechecking them everytime they do an ajax call, but how well would this work on a system with hundreds of simultaneous users?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://ajaxian.com/archives/true-javascript-sockets/comment-page-1#comment-32854</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Thu, 22 Jun 2006 09:54:29 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/archives/true-javascript-sockets#comment-32854</guid>
		<description>Hm, that is true, flash CAN be easily decompiled. We&#039;ll just stick with javascript then.</description>
		<content:encoded><![CDATA[<p>Hm, that is true, flash CAN be easily decompiled. We&#8217;ll just stick with javascript then.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Reader</title>
		<link>http://ajaxian.com/archives/true-javascript-sockets/comment-page-1#comment-32837</link>
		<dc:creator>Reader</dc:creator>
		<pubDate>Thu, 22 Jun 2006 09:19:03 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/archives/true-javascript-sockets#comment-32837</guid>
		<description>And the fact that it&#039;s a SWF means that it can easily be decompiled, meaning that all of your functionality, public or not, is wide open to an attacker.</description>
		<content:encoded><![CDATA[<p>And the fact that it&#8217;s a SWF means that it can easily be decompiled, meaning that all of your functionality, public or not, is wide open to an attacker.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dan</title>
		<link>http://ajaxian.com/archives/true-javascript-sockets/comment-page-1#comment-32668</link>
		<dc:creator>Dan</dc:creator>
		<pubDate>Thu, 22 Jun 2006 01:59:11 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/archives/true-javascript-sockets#comment-32668</guid>
		<description>Yes! Now cross-site scripting attacks will be able to ping my webserver from Taiwan ...
No really, don&#039;t say this is a Javascript solution, as Flash is still the driver. You might as well use your ActiveX control or Java at that point. I can see legitimate uses for it, for sure, but people who use it better understand it and lock it down from within the SWF wrapper, or there goes the neighbourhood.</description>
		<content:encoded><![CDATA[<p>Yes! Now cross-site scripting attacks will be able to ping my webserver from Taiwan &#8230;<br />
No really, don&#8217;t say this is a Javascript solution, as Flash is still the driver. You might as well use your ActiveX control or Java at that point. I can see legitimate uses for it, for sure, but people who use it better understand it and lock it down from within the SWF wrapper, or there goes the neighbourhood.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cesp</title>
		<link>http://ajaxian.com/archives/true-javascript-sockets/comment-page-1#comment-32555</link>
		<dc:creator>Cesp</dc:creator>
		<pubDate>Wed, 21 Jun 2006 23:13:31 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/archives/true-javascript-sockets#comment-32555</guid>
		<description>ESPN.com has been using this method for its NFL,NBA,MLB,College Football and College Basketball scoreboards for a couple years.</description>
		<content:encoded><![CDATA[<p>ESPN.com has been using this method for its NFL,NBA,MLB,College Football and College Basketball scoreboards for a couple years.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mario</title>
		<link>http://ajaxian.com/archives/true-javascript-sockets/comment-page-1#comment-32461</link>
		<dc:creator>Mario</dc:creator>
		<pubDate>Wed, 21 Jun 2006 21:14:41 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/archives/true-javascript-sockets#comment-32461</guid>
		<description>they should use the flash feature to expose certain function to the js engine so it can be even easy to cross script.</description>
		<content:encoded><![CDATA[<p>they should use the flash feature to expose certain function to the js engine so it can be even easy to cross script.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Double</title>
		<link>http://ajaxian.com/archives/true-javascript-sockets/comment-page-1#comment-32459</link>
		<dc:creator>Chris Double</dc:creator>
		<pubDate>Wed, 21 Jun 2006 21:14:21 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/archives/true-javascript-sockets#comment-32459</guid>
		<description>There&#039;s a couple of other libraries that do similar:

http://www.devpro.it/xmlsocket/
http://www.aflax.org/

Chris.</description>
		<content:encoded><![CDATA[<p>There&#8217;s a couple of other libraries that do similar:</p>
<p><a href="http://www.devpro.it/xmlsocket/" rel="nofollow">http://www.devpro.it/xmlsocket/</a><br />
<a href="http://www.aflax.org/" rel="nofollow">http://www.aflax.org/</a></p>
<p>Chris.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jeff</title>
		<link>http://ajaxian.com/archives/true-javascript-sockets/comment-page-1#comment-32429</link>
		<dc:creator>jeff</dc:creator>
		<pubDate>Wed, 21 Jun 2006 20:48:29 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/archives/true-javascript-sockets#comment-32429</guid>
		<description>how is this true javascript? you are mixing it with flash???  this sounds kinda scary too...</description>
		<content:encoded><![CDATA[<p>how is this true javascript? you are mixing it with flash???  this sounds kinda scary too&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>

