Page 1 of 1

Adobe Flash clinet/c++ srver

Posted: Mon Jun 30, 2008 4:12 am
by anandh
Hi all,
May be this approach is wrong.

is there is any multiuser server for Flash based on c++.
I saw this http://osflash.org/red5 this is based on java.

I have a card game done in SDL and c++.Is there any libray to use flash as front end and c++ as game server.
The main aim going for Flash is to bring rich graphics.

share your knowledge in c++/Flash it would Help me.
:?

Posted: Mon Jun 30, 2008 8:48 pm
by Daniel FF
Hi anandh,

Take a look in remoteObject from actionScript ,u can use that to comunicate server using amf protocol

Posted: Wed Jul 09, 2008 7:25 am
by torleif
Flash uses a very simple XML protocol. Just #include "sys/socket.h" and you should be able to write one in a page or so. If you run windows you can download a sys/socket from the web.

I wrote my own in python and the basics only took a page, advanced things such as server rooms that took the longest time to write.

Posted: Fri Jul 11, 2008 8:28 am
by BlindSide
I recommend just using the binary sockets in flash. It's the same as the berkley tcp sockets in C++ so they will match up perfectly. Personally I used C# for my server because threading is less of a nightmare, and since it's a server I wanted the GC to take care of any memory leaks for me. (Yeah, I'm lazy, who cares.)