Hello everybody, i’m fede torri, and i’m a newbie :emb:
Let’s talk about my problem.
I’ve written a real-time flash multiplayer “Draw my thing” game…it’s a test, nothing commercial
So, even though i’m quite good at flash, it was my first incursion in the server-side world, and i found some problems
The main one, is that my server interprets the load of requests i’m sending via flash as a Denial of Service, and quickly shuts down the var passing, therefore slowing down my multiplayer game.
What i have, is a FLASH 1 local swf, wich passes variables to a server WRITER.PHP, wich writes vars to a server-located STOREVARS.PHP, wich are then retrieved by a second-pc local FLASH2 2 swf
WRITER.PHP (about 400 bytes) is accessed 24 times per second (by flash 1), and will fopen and fwrite STOREVARS.PHP (about 200 bytes), wich is opened 48 times per second (24 by storevars, and 24 by flash2)
Probably HTTP packet vars, with php as server-side is not the right option.
Or either i should find a better way to connect 2 PC,
or either again i should find a server wich won’t interprete a few php requests as a DoS
Can anyone point me in the right direction?
Thanks a lot in advance!!!