On Sat, Jan 31, 2004 at 12:23:04AM -0600, Jay Strauss wrote:
> Hi,
> 
> I'm trying to trap a ConnectError, and return if it occurs.  I want to
> return out of my ->new method with an undef if my
> POE::Component::Client::TCP fails to connect to the server.  I'm doing it
> with flags, but I'm wondering if there is some POE built in device for
> accomplishing this.  Below is the code.  I'm not sure of a better way to
> explain it.

The sample code looks fine.  You should be aware that
run_one_timeslice() is rather new.  To the best of my knowledge, few
people are using it, and few examples of its use exist.

-- 
Rocco Caputo  [EMAIL PROTECTED]  -http://poe.perl.org/

Reply via email to