Re: IKC bug for client spawn?

Nick Perez <[email protected]>
Newsgroups gmane.comp.lang.perl.poe
Message-ID <[email protected]>
On Tue, 5 May 2009 10:34:53 -0700
Josh803316 <[email protected]> wrote:

> It appears that if you start an IKC server and then an ikc client
> connects to it from within the same POE::Kernel->run() then we get
> the following error:
> 
> 23289: Remote kernel 'host.domain-4a0076da00005af9' already exists
> 23289: Remote kernel 'host.domain-4a0076da00005af9' already exists
> 
> Single program flow:
> 
> POE::Component::IKC::Server->spawn();
> POE::Component::IKC::Client->spawn();
> 
> POE::Kernel->run();
> 
> This is where we get the run time error from the client about the
> remote kernel already existing. The error doesn't seem to affect
> anything else but I assume this is either a bug or I'm doing
> something wrong.


Erm, you do realize that IKC is mostly for inter process communication
right? Running both within the same kernel (process) and it throwing
that warning is /exactly/ what it should be doing. 

-- 

Nicholas Perez
XMPP/Email: [email protected]
http://search.cpan.org/~nperez/
http://github.com/nperez
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.