Flash socket server + MiceTalk

Posted in Applications, Flash, Portfolio at 4:43 pm by Madarco  

How promised, here my little perl Flash socket server.

This is a simple prototype that I've made to explore the power of non-blocking sockets.
I've tested it with a thousand connections and it should handle some more.
This can be used for a multiplayer flash game or a community chat, but since it isn't "production ready", use it at your own risk :)
It can be also useful to who want to implement his own server.

Features:

  • >=1000 connections
  • anonymous nick, free nick (free to choose you own) and registered nick with mysql/postgre/sqlite/dbo compatible
  • Can run in some web hosts like Dreamhost Update: It violates their policy

Download: Perl Flash socket server

To run:

CODE:
  1. ./creaTestDb.pl
  2. ./flashserve.pl

Here are also a bunch of AS classes to interact with the server and an example application like the "mouse chat" in my website. Update: my hosting (Dreamhost) doesn't allow FlashServe, the party is over
Sadly, since these was made 4 years ago with an italian friend, all the comments are in italian, if someone is interested, I can translate it.

Download: MiceTalk socket server example + Classes

You can use my server at dev.madarco.net:7777 but only in the Flash IDE (no crossdomain.xml)

1 Comment

  1. [...] some thoughts, some non-blocking servers and a thesis (jira), I think I’ve found the answer: the lack of a [...]

RSS feed for comments on this post.

Sorry, the comment form is closed at this time.