Archived

This forum has been archived. Please start a new discussion on GitHub.

icestorm.clock publisher terminate several minute later

i start the follow step by step
icebox
publisher
subscriber
,,,
it is welll ,,
but several minuite later the publisher must shutdown
why ???
whether i can use the ice_ping to maintain the active
is some can help me??
i jsut to learn ice one week.

i have another problem can i use the php subscriber ,,
is the c++ publisher can push data to the php subscriber??


thanks!!

Comments

  • benoit
    benoit Rennes, France
    Hi,

    Unless you interrupt it with Ctrl-C, the publisher from the clock demo shouldn't terminate. I'm not sure why it does in your case, is there any errors printed on the console?

    It's not possible to implement a subscriber with IcePHP because IcePHP doesn't support Ice "server-side" functionality. For a PHP script to receive updates from an IceStorm publisher, you should use a pull model where the PHP script invoke regularly on a process (which could be an IceStorm subcriber) to get the latest updates. This is how the PHP client for our chat demo works, see here for more information.

    Cheers,
    Benoit.