<?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: New Video Tutorial on Binary Socket Fundamentals</title>
	<atom:link href="http://blog.theflashblog.com/?feed=rss2&#038;p=362" rel="self" type="application/rss+xml" />
	<link>http://blog.theflashblog.com/?p=362</link>
	<description>Just another WordPress site</description>
	<lastBuildDate>Sat, 28 Aug 2010 04:03:14 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: diyet</title>
		<link>http://blog.theflashblog.com/?p=362#comment-653292</link>
		<dc:creator>diyet</dc:creator>
		<pubDate>Wed, 24 Feb 2010 21:19:28 +0000</pubDate>
		<guid isPermaLink="false">http://theflashblog.com/?p=362#comment-653292</guid>
		<description>I learn something new from each summer. how much less I thank you.</description>
		<content:encoded><![CDATA[<p>I learn something new from each summer. how much less I thank you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Love &#8216;em or hate &#8216;em, plugins are here to stay &#171; Control Group Blog</title>
		<link>http://blog.theflashblog.com/?p=362#comment-642832</link>
		<dc:creator>Love &#8216;em or hate &#8216;em, plugins are here to stay &#171; Control Group Blog</dc:creator>
		<pubDate>Wed, 03 Feb 2010 14:19:24 +0000</pubDate>
		<guid isPermaLink="false">http://theflashblog.com/?p=362#comment-642832</guid>
		<description>[...] Catalyst  SVG and FXG Flex Data Services  RTMFP (Real Time Media Flow Protocol)  Binary Sockets  40.712363 [...]</description>
		<content:encoded><![CDATA[<p>[...] Catalyst  SVG and FXG Flex Data Services  RTMFP (Real Time Media Flow Protocol)  Binary Sockets  40.712363 [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gOLDfeesh</title>
		<link>http://blog.theflashblog.com/?p=362#comment-591006</link>
		<dc:creator>gOLDfeesh</dc:creator>
		<pubDate>Tue, 08 Sep 2009 19:11:38 +0000</pubDate>
		<guid isPermaLink="false">http://theflashblog.com/?p=362#comment-591006</guid>
		<description>I was wondering how you would create an array of sockets for let&#039;s say a download manager. Any idea on how one would do that?</description>
		<content:encoded><![CDATA[<p>I was wondering how you would create an array of sockets for let&#8217;s say a download manager. Any idea on how one would do that?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: katja</title>
		<link>http://blog.theflashblog.com/?p=362#comment-578018</link>
		<dc:creator>katja</dc:creator>
		<pubDate>Thu, 30 Jul 2009 11:10:43 +0000</pubDate>
		<guid isPermaLink="false">http://theflashblog.com/?p=362#comment-578018</guid>
		<description>Iâ€™ve been waiting for a tutorial on sockets for the longest time! Thanks a million!</description>
		<content:encoded><![CDATA[<p>Iâ€™ve been waiting for a tutorial on sockets for the longest time! Thanks a million!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Garrett</title>
		<link>http://blog.theflashblog.com/?p=362#comment-499149</link>
		<dc:creator>Garrett</dc:creator>
		<pubDate>Wed, 14 Jan 2009 22:35:20 +0000</pubDate>
		<guid isPermaLink="false">http://theflashblog.com/?p=362#comment-499149</guid>
		<description>Oops, my xml policy file was parsed out. It looks like this (but replace the square brackets with &gt;&lt;):

[cross-domain-policy]
  [site-control permitted-cross-domain-policies=&quot;master-only&quot;/]
  [allow-access-from domain=&quot;mysite.com&quot; to-ports=&quot;999,8080-8082&quot;/]
[/cross-domain-policy]</description>
		<content:encoded><![CDATA[<p>Oops, my xml policy file was parsed out. It looks like this (but replace the square brackets with &gt;&lt;):</p>
<p>[cross-domain-policy]<br />
  [site-control permitted-cross-domain-policies="master-only"/]<br />
  [allow-access-from domain="mysite.com" to-ports="999,8080-8082"/]<br />
[/cross-domain-policy]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Garrett</title>
		<link>http://blog.theflashblog.com/?p=362#comment-499146</link>
		<dc:creator>Garrett</dc:creator>
		<pubDate>Wed, 14 Jan 2009 22:32:07 +0000</pubDate>
		<guid isPermaLink="false">http://theflashblog.com/?p=362#comment-499146</guid>
		<description>@Neil

I&#039;m also stuck on the flash security model, you can get a better idea what your problem is by enabling policy file logging, illustrated in the below url.

http://www.adobe.com/devnet/flashplayer/articles/fplayer9_security_05.html

My server is a Rabbit RCM3800 microcontroller which I can connect to if I run my flash file as a &quot;local-trusted&quot; file.  But when I run it &quot;remote&quot; or &quot;local-with-networking&quot; the policy security model prevents me from connecting.

I send the policy file by listening on port 843, and when I receive  I write an ASCII stream to that socket which looks like:


  
  


Unfortunately I get this warning (and a subsequent error):

Warning: Timeout on xmlsocket://192.168.1.59:843 (at 3 seconds) while waiting for socket policy file.

Error: Request for resource at xmlsocket://192.168.1.59:3333 by requestor from file:///C:/xxx.swf is denied due to lack of policy file permissions.</description>
		<content:encoded><![CDATA[<p>@Neil</p>
<p>I&#8217;m also stuck on the flash security model, you can get a better idea what your problem is by enabling policy file logging, illustrated in the below url.</p>
<p><a href="http://www.adobe.com/devnet/flashplayer/articles/fplayer9_security_05.html" rel="nofollow">http://www.adobe.com/devnet/flashplayer/articles/fplayer9_security_05.html</a></p>
<p>My server is a Rabbit RCM3800 microcontroller which I can connect to if I run my flash file as a &#8220;local-trusted&#8221; file.  But when I run it &#8220;remote&#8221; or &#8220;local-with-networking&#8221; the policy security model prevents me from connecting.</p>
<p>I send the policy file by listening on port 843, and when I receive  I write an ASCII stream to that socket which looks like:</p>
<p>Unfortunately I get this warning (and a subsequent error):</p>
<p>Warning: Timeout on xmlsocket://192.168.1.59:843 (at 3 seconds) while waiting for socket policy file.</p>
<p>Error: Request for resource at xmlsocket://192.168.1.59:3333 by requestor from file:///C:/xxx.swf is denied due to lack of policy file permissions.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sci-Fi Si</title>
		<link>http://blog.theflashblog.com/?p=362#comment-494481</link>
		<dc:creator>Sci-Fi Si</dc:creator>
		<pubDate>Sun, 04 Jan 2009 17:19:45 +0000</pubDate>
		<guid isPermaLink="false">http://theflashblog.com/?p=362#comment-494481</guid>
		<description>@Steve McDonald.

Have a look here: 

http://www.mikechambers.com/blog/2007/05/07/actionscript-3-mysql-library/

Remember, the advantage of using middleware such as CF8 or PHP etc. is that the code never leaves the server. Passing the username and password over to the browser so it can be run in Flash leaves your database wide open.

You could use this method if the information is not private (say for displaying certain pages depending on the time of year or something).

You could have a user account with READ ONLY permissions for this. However INSERT,UPDATE and DELETE would be unwise.

HOWEVER... I can think of a way of actually doing this Flash by writing a mini server app working as middleware. This would have to run on the server itself, so unless you host your own server there is no way to get the .swf to run ON the server.

I recommend sticking with middleware PHP or CF8, hope this helps

:)

caspianit.co.uk</description>
		<content:encoded><![CDATA[<p>@Steve McDonald.</p>
<p>Have a look here: </p>
<p><a href="http://www.mikechambers.com/blog/2007/05/07/actionscript-3-mysql-library/" rel="nofollow">http://www.mikechambers.com/blog/2007/05/07/actionscript-3-mysql-library/</a></p>
<p>Remember, the advantage of using middleware such as CF8 or PHP etc. is that the code never leaves the server. Passing the username and password over to the browser so it can be run in Flash leaves your database wide open.</p>
<p>You could use this method if the information is not private (say for displaying certain pages depending on the time of year or something).</p>
<p>You could have a user account with READ ONLY permissions for this. However INSERT,UPDATE and DELETE would be unwise.</p>
<p>HOWEVER&#8230; I can think of a way of actually doing this Flash by writing a mini server app working as middleware. This would have to run on the server itself, so unless you host your own server there is no way to get the .swf to run ON the server.</p>
<p>I recommend sticking with middleware PHP or CF8, hope this helps</p>
<p> <img src='http://blog.theflashblog.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>caspianit.co.uk</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sci-Fi Si</title>
		<link>http://blog.theflashblog.com/?p=362#comment-494480</link>
		<dc:creator>Sci-Fi Si</dc:creator>
		<pubDate>Sun, 04 Jan 2009 16:58:22 +0000</pubDate>
		<guid isPermaLink="false">http://theflashblog.com/?p=362#comment-494480</guid>
		<description>@Muhammad

Dude, the reason you can&#039;t connect to gmail servers is because it needs to be over a secure connection, just connecting to port 995 isn&#039;t enough. You need to use SSL (TLS). I don&#039;t know how to do that yet myself otherwise I would post the code, but that&#039;s the direction you need to look in

:)</description>
		<content:encoded><![CDATA[<p>@Muhammad</p>
<p>Dude, the reason you can&#8217;t connect to gmail servers is because it needs to be over a secure connection, just connecting to port 995 isn&#8217;t enough. You need to use SSL (TLS). I don&#8217;t know how to do that yet myself otherwise I would post the code, but that&#8217;s the direction you need to look in</p>
<p> <img src='http://blog.theflashblog.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sci-Fi Si</title>
		<link>http://blog.theflashblog.com/?p=362#comment-494477</link>
		<dc:creator>Sci-Fi Si</dc:creator>
		<pubDate>Sun, 04 Jan 2009 16:49:33 +0000</pubDate>
		<guid isPermaLink="false">http://theflashblog.com/?p=362#comment-494477</guid>
		<description>Nice comments everyone. Has anyone has a reply?

Lee, I think you&#039;re a star. You&#039;re a great instructor. Many, many thanks. The only, small, small thing though is of coarse your an Adobe evangelist, so whilst you make everything look super-duper easy-peasey, some of the tutorials no longer work :(


I&#039;m getting, with the simplist connection attempt - a several second delay, then a security sandbox error.

Fortunately due to a design flaw, there is a way around for the security sandbox, but that only worked with Flash Player 9. Now Flash 10 is out that security flaw has been fixed.

It is now necessary to install a security socket policy server before any connection attempt is allowed. A LOT of digging round the net will reveals very little information. There is some information on how to can get this working with Python and PHP here

However nothing is available for ColdFusion 8 (CF8), which is odd as it&#039;s an Adobe product. Any help here for CF8 and a socket connection would be appreciated.

For further information on the old design flaws (AS3 &amp; Flash 9 and below only) have a look here http://scan.flashsec.org/

Keep rockin&#039; Lee!

Many thanks again for your tutorials.</description>
		<content:encoded><![CDATA[<p>Nice comments everyone. Has anyone has a reply?</p>
<p>Lee, I think you&#8217;re a star. You&#8217;re a great instructor. Many, many thanks. The only, small, small thing though is of coarse your an Adobe evangelist, so whilst you make everything look super-duper easy-peasey, some of the tutorials no longer work <img src='http://blog.theflashblog.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p>I&#8217;m getting, with the simplist connection attempt &#8211; a several second delay, then a security sandbox error.</p>
<p>Fortunately due to a design flaw, there is a way around for the security sandbox, but that only worked with Flash Player 9. Now Flash 10 is out that security flaw has been fixed.</p>
<p>It is now necessary to install a security socket policy server before any connection attempt is allowed. A LOT of digging round the net will reveals very little information. There is some information on how to can get this working with Python and PHP here</p>
<p>However nothing is available for ColdFusion 8 (CF8), which is odd as it&#8217;s an Adobe product. Any help here for CF8 and a socket connection would be appreciated.</p>
<p>For further information on the old design flaws (AS3 &amp; Flash 9 and below only) have a look here <a href="http://scan.flashsec.org/" rel="nofollow">http://scan.flashsec.org/</a></p>
<p>Keep rockin&#8217; Lee!</p>
<p>Many thanks again for your tutorials.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eli</title>
		<link>http://blog.theflashblog.com/?p=362#comment-486515</link>
		<dc:creator>Eli</dc:creator>
		<pubDate>Sat, 20 Dec 2008 21:29:03 +0000</pubDate>
		<guid isPermaLink="false">http://theflashblog.com/?p=362#comment-486515</guid>
		<description>Hi!

Thank you! A very good contributions!

Eli.</description>
		<content:encoded><![CDATA[<p>Hi!</p>
<p>Thank you! A very good contributions!</p>
<p>Eli.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk

Served from: blog.theflashblog.com @ 2010-09-06 13:59:02 -->