"Duane Beck" <[EMAIL PROTECTED]> writes:

> >     POE::Component::Client::TCP->new
> >       ( RemoteAddress => "127.0.0.1",
> >         RemotePort => 123456,
> >         ConnectError => sub { die; },
> >         ServerInput => sub { },
> >       );
> 
> I don't believe 123456 is a valid TCP port number.  Try something less than
> or equal to 65535.

Yes, sorry about that. But it is the same with any port number that does
not have a service running (just tried it with 84). In fact I originally
discovered the problem in some "real" code with a die in the
Disconnected handler, then stripped it down to this minimal example for
posting to the list.

It seems to me that the problem is that Perl is crashing while unwinding
the stack after encountering a die in the POE::Component::Client::TCP
callback inside the POE kernel. But I haven't investigated further yet.

 - Kristian.

Reply via email to