Hi,
Is it possible to trigger some functions from the webserver on the same Ubuntu server?
Scenario: An admin will trigger an event which will start the event on all mobile devices who are online at that moment?
=================================================
function startTheEvent()
for key, cur_client in cumulus.clients:pairs() do
cur_client.writer.writeAMFMessage("game_event_A","start")
end
end
=================================================
Would it be possible that via php (or even ubuntu command line) the cumulus function gets fired?
something like:
<?php
shell_exec('./CumulusServer >> startTheEvent');
?>