Re: POE sessions, clients, confused

2005-01-28 Thread Bas Schulte
Hi, On vrijdag, jan 28, 2005, at 03:10 Europe/Amsterdam, Rocco Caputo wrote: On Thu, Jan 27, 2005 at 12:40:56PM -0800, David Davis wrote: Response below. On Thu, 27 Jan 2005 20:15:22 +0100, Bas Schulte [EMAIL PROTECTED] wrote: Hi David, On donderdag, jan 27, 2005, at 00:45 Europe/Amsterdam, David

Re: POE sessions, clients, confused

2005-01-27 Thread Bas Schulte
Hi David, On donderdag, jan 27, 2005, at 00:45 Europe/Amsterdam, David Davis wrote: Can I start a new session in client_input, start a new POE::Wheel::Run from there *in* the ClientInput state? Or does that create a (parent-child?) dependency with the POE::Component::Server::TCP session? That

Re: POE sessions, clients, confused

2005-01-27 Thread David Davis
Response below. On Thu, 27 Jan 2005 20:15:22 +0100, Bas Schulte [EMAIL PROTECTED] wrote: Hi David, On donderdag, jan 27, 2005, at 00:45 Europe/Amsterdam, David Davis wrote: Can I start a new session in client_input, start a new POE::Wheel::Run from there *in* the ClientInput state? Or

Re: POE sessions, clients, confused

2005-01-27 Thread Rocco Caputo
On Thu, Jan 27, 2005 at 12:40:56PM -0800, David Davis wrote: Response below. On Thu, 27 Jan 2005 20:15:22 +0100, Bas Schulte [EMAIL PROTECTED] wrote: Hi David, On donderdag, jan 27, 2005, at 00:45 Europe/Amsterdam, David Davis wrote: Don't pass the client wheel, that's bad when

Re: POE sessions, clients, confused

2005-01-26 Thread David Davis
Setup another session to handle wheel run, and use $_[SENDER] to reply back if the client is still connected. -- David Davis Perl Programmer http://teknikill.net/ Try CPAN Suggest! http://cpan.teknikill.net/ On Wed, 26 Jan 2005 19:43:15 +0100, Bas A. Schulte [EMAIL PROTECTED] wrote: Hi all,

Re: POE sessions, clients, confused

2005-01-26 Thread Ofer Nave
David Davis wrote: Setup another session to handle wheel run, and use $_[SENDER] to reply back if the client is still connected. Also, check out POE::Component::Child. I just started using it, and it works quite nicely. It's a wrapper around POE::Wheel::Run and is stand-alone, so you don't

Re: POE sessions, clients, confused

2005-01-26 Thread Erick Calder
Also, check out POE::Component::Child. which reminds me I have some patches I need to release, and I better do it before my upcoming vacation in mid Feb too!

Re: POE sessions, clients, confused

2005-01-26 Thread Bas Schulte
Hi David, On woensdag, jan 26, 2005, at 20:01 Europe/Amsterdam, David Davis wrote: Setup another session to handle wheel run, and use $_[SENDER] to reply back if the client is still connected. That's a bit too compact for me :) Where do I do what, that's basically my problem: Can I start a new

Re: POE sessions, clients, confused

2005-01-26 Thread David Davis
Response within, On Wed, 26 Jan 2005 22:36:25 +0100, Bas Schulte [EMAIL PROTECTED] wrote: Hi David, On woensdag, jan 26, 2005, at 20:01 Europe/Amsterdam, David Davis wrote: Setup another session to handle wheel run, and use $_[SENDER] to reply back if the client is still connected.