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 DreamhostUpdate: It violates their policy
Download: Perl Flash socket server
To run:
./creaTestDb.pl ./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)
Pingback: Madarco DevBlog » Blog Archive » Some thougths on Actionscript in the serverside