<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Dreaming in Flash &#187; C#</title>
	<atom:link href="http://www.dreaminginflash.com/category/c/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dreaminginflash.com</link>
	<description>There is no universally agreed-upon biological definition of dreaming</description>
	<lastBuildDate>Mon, 12 Jul 2010 15:22:31 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Flash binary socket client &amp; C sharp socket server</title>
		<link>http://www.dreaminginflash.com/2008/05/02/flash-binary-socket-client-c-sharp-socket-server/</link>
		<comments>http://www.dreaminginflash.com/2008/05/02/flash-binary-socket-client-c-sharp-socket-server/#comments</comments>
		<pubDate>Fri, 02 May 2008 13:08:12 +0000</pubDate>
		<dc:creator>Ivan Valadares</dc:creator>
				<category><![CDATA[Actionscript3]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[Code]]></category>

		<guid isPermaLink="false">http://www.dreaminginflash.com/2008/05/02/flash-binary-socket-client-c-sharp-socket-server/</guid>
		<description><![CDATA[This week a friend of mine was making me questions about the binary sockets in flash, so I remember to post an example about it. I have been using a lot of XmlSockets for the last 2 years with the latest versions of flash, so it was really easy to implement binary socket because they [...]]]></description>
			<content:encoded><![CDATA[<p>This week a friend of mine was making me questions about the binary sockets in flash, so I remember to post an example about it. I have been using a lot of XmlSockets for the last 2 years with the latest versions of flash, so it was really easy to implement binary socket because they are very similar.  Binary sockets are really a great improvement in flash. I have seen a lot of implements like joysticks servers, connections to mail servers and so on; there are some examples on <a href="http://www.bytearray.org/?page_id=82">byteArray.org</a>.  </p>
<p>This example is a simple chat, it have a C sharp server and a flash client. Just click on socketServer.exe to start the server it will be listening on port 8000, then start client.exe and hit connect button. The server will accept multiple connections, so you can start more than one client, if you are testing it in different machines, just check IP address of the server and write it on the client Ip text Field and hit connect button.</p>
<p>The source code for client and server are on the example zip, it was done using Visual c# express 2008 and Adobe Flash 9. </p>
<p><a href='http://www.dreaminginflash.com/wp-content/uploads/2008/05/socketexample.zip' title='Socket Example With Source Code'>Socket Example With Source Code</a></p>

]]></content:encoded>
			<wfw:commentRss>http://www.dreaminginflash.com/2008/05/02/flash-binary-socket-client-c-sharp-socket-server/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
