Game Development Stack Exchange is a question and answer site for professional and independent game developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Working on a prototype for a Flash game that will use networking communication. It would be better to use Peer 2 Peer connection, since it will be a multiplayer game.

Has anyone used Stratus or tried to make a multiplayer game via the built in socket?

The game will be a turn based game, similar speed to poker but if I could get faster turns that would be great.

share|improve this question
up vote 6 down vote accepted

I am not sure flash allows P2P without Stratus (and v10+ only). But if you want to go socket route I suggest you give Red5 a shot . I wrote a small how-to on installing it on ubuntu here: It's a bit old, but should still be valid. If I were to make a networked flash game today I'd weigh my options between RED5 and SmartfoxServer

share|improve this answer
+1 on Red5, although the documentation isn't great. – PhillC Jul 21 '10 at 17:21

For a turn based game you don't need the extra speed of peer to peer, and you want to use the server to do some cheat detection. Electroserver,, smartfox and red5 will all do the job.

share|improve this answer

I think the real bottom line is this: Do you care that clients could easily hack the game experience?

If the answer is yes, develop on an authoritative server model. I'm a fan of ElectroServer.

share|improve this answer

ActionScript does have a socket class. It is XMLSocket. If you can support ActionScript 3.0, it has a better Socket class.

share|improve this answer

You might want to consider also BlazeDS, Union Platform and Firebase.

Even though Stratus seems to be a very efficient from data transfer efficiency point of view, it doesn't come without problems. As far as I understand, it works on top of the UDP layer (instead of TCP/IP), which could cause firewall related issues to some of your players. Furthermore, the technology seems to be at beta stage so I wouldn't build a commercial application on it yet (never tried, though, this is just an emotion based opinion).

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.