Monday, November 21, 2005

Free Friday (Late) - Flex 2 - Comet Echo Binary Socket Server by Theodore Patrick

Comet Echo is the first binary socket server available for use with Flex 2 and Flash Player 8.5. The server is useful for protocol development, and chat based applications. The server supports all features of flash.net.Socket including AMF and ZLIB.

Any data sent to the echo server is broadcast to all connected clients on port 8000. Simply run the server, and open the modified "Zorn Chat" application within to see it working locally. The client will communicate over flash.net.Socket broadcasting AMF binary at the server. You can write your own clients for "Comet Echo" using Flex Builder 2 and AS3.


I presented at Spark Europe on flash.net.Socket and used this server in my presentation. I will be posting both of my presentations with audio later this week. Somewhere between 2 sessions and 2 panels, I found myself with very little time to post Thursday or Friday.

This example is available for free within Flex® by Example.

More to come.

Ted :)

4 Comments:

At March 04, 2006 10:52 PM, this_name said...

I just installed IFBIN and tried this example (after I started the IFBIN service) but it produced many errors in Flash 8.5 Player (and same in side IE with Flash 8.5 plugin)

I'm running Win2K.

In addition, after installation it produced errors in a readme.html file in the IFBIN folder (I had installed it before I started IFBIN service but it produced errors so I installed it once again after I started the IFBIN service but it still produced the readme.html file with errors) The message in the readme.html is:

Warning: fopen(xbe/docs/72b470c4b331dc15becc11bbbaed8a79c0371cc7.html): failed to open stream: No such file or directory in /usr/www/users/supertp/ifbindata/data/index.php on line 81

Warning: fpassthru(): supplied argument is not a valid stream resource in /usr/www/users/supertp/ifbindata/data/index.php on line 84

Warning: fclose(): supplied argument is not a valid stream resource in /usr/www/users/supertp/ifbindata/data/index.php on line 87

 
At March 04, 2006 11:19 PM, this_name said...

I meant I started the "Comet Echo Server" (the IFBIN service was already running but I understand it has nothing to do with the execution of the sample.. I just had the two confused momentarily)

 
At March 04, 2006 11:23 PM, this_name said...

This post has been removed by a blog administrator.

 
At March 06, 2006 3:11 AM, this_name said...

Sorry for adding so many comments at once ...

I just wanted to conclude my input by saying that it would be nice to have the source included with the free examples (e.g. the echo server example) so that we can evaluate the service ... I'm happen to have particular interest in examples showing the sue of the SYNC class with source code for the Python server and instructions for compiling under Win and OS X...

Thank you.

 

Post a Comment

<< Home