<?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: Creating a PHP socket server</title>
	<atom:link href="http://www.functionblog.com/?feed=rss2&#038;p=67" rel="self" type="application/rss+xml" />
	<link>http://www.functionblog.com/?p=67</link>
	<description>blog about AS3, PHP &#039;n tech</description>
	<lastBuildDate>Mon, 05 Jul 2010 13:18:27 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Rajdeep Rath</title>
		<link>http://www.functionblog.com/?p=67&#038;cpage=1#comment-2650</link>
		<dc:creator>Rajdeep Rath</dc:creator>
		<pubDate>Sat, 29 May 2010 21:03:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.gamitude.nl/?p=67#comment-2650</guid>
		<description>Try this one :

http://kpumuk.info/projects/wordpress-plugins/codecolorer/</description>
		<content:encoded><![CDATA[<p>Try this one :</p>
<p><a href="http://kpumuk.info/projects/wordpress-plugins/codecolorer/" rel="nofollow">http://kpumuk.info/projects/wordpress-plugins/codecolorer/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://www.functionblog.com/?p=67&#038;cpage=1#comment-2647</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Wed, 26 May 2010 15:01:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.gamitude.nl/?p=67#comment-2647</guid>
		<description>Yes it&#039;ll work fine, you can even let the log print to the browser if you set the implicit flush right and have no timeout.</description>
		<content:encoded><![CDATA[<p>Yes it&#8217;ll work fine, you can even let the log print to the browser if you set the implicit flush right and have no timeout.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: anon imus</title>
		<link>http://www.functionblog.com/?p=67&#038;cpage=1#comment-2642</link>
		<dc:creator>anon imus</dc:creator>
		<pubDate>Sun, 09 May 2010 15:26:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.gamitude.nl/?p=67#comment-2642</guid>
		<description>I worked for me without cmd.
this is how:
upload to a server ( set the ip and port )
run the php from your browser the browser should start loading but the page should not come in (because of the while loop)
&amp; connect with your flash...</description>
		<content:encoded><![CDATA[<p>I worked for me without cmd.<br />
this is how:<br />
upload to a server ( set the ip and port )<br />
run the php from your browser the browser should start loading but the page should not come in (because of the while loop)<br />
&amp; connect with your flash&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John laPlante</title>
		<link>http://www.functionblog.com/?p=67&#038;cpage=1#comment-2625</link>
		<dc:creator>John laPlante</dc:creator>
		<pubDate>Tue, 26 Jan 2010 20:32:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.gamitude.nl/?p=67#comment-2625</guid>
		<description>I&#039;m curious why I need a command prompt. My host doesn&#039;t give me a cmd prompt so I&#039;m out of luck. But, since this is PHP, won&#039;t it run when flash requests the PHP? i might be misguided. I found a Perl program that does the same thing but I can&#039;t run that either without a cmd prompt.</description>
		<content:encoded><![CDATA[<p>I&#8217;m curious why I need a command prompt. My host doesn&#8217;t give me a cmd prompt so I&#8217;m out of luck. But, since this is PHP, won&#8217;t it run when flash requests the PHP? i might be misguided. I found a Perl program that does the same thing but I can&#8217;t run that either without a cmd prompt.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://www.functionblog.com/?p=67&#038;cpage=1#comment-197</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Fri, 08 May 2009 11:06:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.gamitude.nl/?p=67#comment-197</guid>
		<description>The 3D engine doesn&#039;t use quaternions yet, in fact there is room for quite some improvement. Again, it&#039;s on the to do list for after the exams ;)</description>
		<content:encoded><![CDATA[<p>The 3D engine doesn&#8217;t use quaternions yet, in fact there is room for quite some improvement. Again, it&#8217;s on the to do list for after the exams <img src='http://www.functionblog.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: andre venancio</title>
		<link>http://www.functionblog.com/?p=67&#038;cpage=1#comment-195</link>
		<dc:creator>andre venancio</dc:creator>
		<pubDate>Thu, 07 May 2009 11:10:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.gamitude.nl/?p=67#comment-195</guid>
		<description>go and study!! i´m curious about your release of your 3D engine.
are you using quartennions?

All the best.

andre venancio</description>
		<content:encoded><![CDATA[<p>go and study!! i´m curious about your release of your 3D engine.<br />
are you using quartennions?</p>
<p>All the best.</p>
<p>andre venancio</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://www.functionblog.com/?p=67&#038;cpage=1#comment-194</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Thu, 07 May 2009 10:17:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.gamitude.nl/?p=67#comment-194</guid>
		<description>Yes, I could, and I should. But I currently don&#039;t have a lot of time on my hand (exam weeks... :() Try searching for some tutorials on using sockets in AS3, that should get you started ;)</description>
		<content:encoded><![CDATA[<p>Yes, I could, and I should. But I currently don&#8217;t have a lot of time on my hand (exam weeks&#8230; <img src='http://www.functionblog.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> ) Try searching for some tutorials on using sockets in AS3, that should get you started <img src='http://www.functionblog.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: andre venancio</title>
		<link>http://www.functionblog.com/?p=67&#038;cpage=1#comment-193</link>
		<dc:creator>andre venancio</dc:creator>
		<pubDate>Thu, 07 May 2009 08:25:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.gamitude.nl/?p=67#comment-193</guid>
		<description>hi. 

can u post a simpe example using flash? for creating a multiplayer chat ou game?</description>
		<content:encoded><![CDATA[<p>hi. </p>
<p>can u post a simpe example using flash? for creating a multiplayer chat ou game?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://www.functionblog.com/?p=67&#038;cpage=1#comment-176</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Fri, 01 May 2009 08:43:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.gamitude.nl/?p=67#comment-176</guid>
		<description>I haven&#039;t looked at this script in quite some time (actually wrote it a long time before posting it), but I think it&#039;s there to check if the socket is still alive. Would the socket have shut down after $read[0] = $sock, $sock wouldn&#039;t be the same and therefore not be found in the $read array. And this would probably prevent nasty errors in endless loops.</description>
		<content:encoded><![CDATA[<p>I haven&#8217;t looked at this script in quite some time (actually wrote it a long time before posting it), but I think it&#8217;s there to check if the socket is still alive. Would the socket have shut down after $read[0] = $sock, $sock wouldn&#8217;t be the same and therefore not be found in the $read array. And this would probably prevent nasty errors in endless loops.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ian Kinsey</title>
		<link>http://www.functionblog.com/?p=67&#038;cpage=1#comment-175</link>
		<dc:creator>Ian Kinsey</dc:creator>
		<pubDate>Fri, 01 May 2009 00:09:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.gamitude.nl/?p=67#comment-175</guid>
		<description>Could you explain the 

if(in_array($sock,$read))

line to me? Since

$read[0] = $sock;

is always executed, it seems like the if statement would always be true. Which, of course, means that even if there is not a new connection attempt, the script will try to accept a new connection.

I&#039;m new to this so I&#039;m probably just missing something, any help would be appreciated.</description>
		<content:encoded><![CDATA[<p>Could you explain the </p>
<p>if(in_array($sock,$read))</p>
<p>line to me? Since</p>
<p>$read[0] = $sock;</p>
<p>is always executed, it seems like the if statement would always be true. Which, of course, means that even if there is not a new connection attempt, the script will try to accept a new connection.</p>
<p>I&#8217;m new to this so I&#8217;m probably just missing something, any help would be appreciated.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
