Hello poe-masters!

After reading the documentation, cases, samples, and understanding a little
of the POE platform, I am dwelling with the examples at the cookbook section
of the site, learning more, and trying to figure out some problems i'm
having with the ikc_server and ikc_client example of Inter POE's Kernel
Communique.

As for now, i only get the response from ikc_server if i comment out the
line below of the client, which supresses the yield(_stop) event to the
server:

    $kernel->yield('_stop');

If this line remains uncommented, all i get from issuing the client is the
line that is the output of the _stop event of the client:

~/learning_poe$ ./poe_ikc_client.pl
Finished...
~/learning_poe$

With that line commented out, issuing the execution of the client leads to:

~/learning_poe$ ./poe_ikc_client.pl
Result!
1
Result!
2
Result!
3
Result!
4
Result!
5
Result!
6
Result!
7
Result!
8
Result!
9
Result!
10

But the client never finishes, but that behaviour was expected.

At the server terminal:

~/learning_poe$ ./poe_ikc_server.pl
Someone called!
Someone called!
Someone called!
Someone called!
Someone called!
Someone called!
Someone called!
Someone called!
Someone called!
Someone called!

And the client communicates fine with the server.

Can you point me what is the problem with that example given?

Thank you in advance,

Marcel Mitsuto.

Reply via email to