Re: IKC server with multiple clients....can clients communicate directly after subscribtion

"Brandon M. Andrews" <[email protected]>
Newsgroups gmane.comp.lang.perl.poe
Message-ID <[email protected]>
Josh803316 wrote:
>  To Whom may want to Help,
>
> I have two IKC clients that publish their states to a IKC server (each one
> is a separate process).
> I want to be able to use IKC to make both clients talk with each other once
> they have published their states.
>
> I tried to subscribe from one client to the other  client, but I get this
> error...
>  1365: Unknown kernel 'ClientImTryingToConnectTo'
>   
I'm going to work under the assumption that the middleman server is 
required by your network configuration.

> I'm monitoring my connection process and I see that all of the foreign
> kernels are connected.......but I have to post back to the server who has to
> post to the other clients.
> Is there a way to have direct IKC client communication between multiple
> clients after the publishing/subscription portion is complete?
>   
I do not believe that this is possible, looking through the IKC 
documentation (and briefly skimming through the code), however I do not 
pretend to be an expert, so if I'm wrong, someone should correct me! :P

 From what I know, you would have to spawn another IKC server (on one of 
your original clients) in order to achieve what you want to do. You 
could spawn the server dynamically using information that the clients 
pass to each other through the server, which wouldn't be particularly 
difficult to implement from what I can tell.

I would write example code, but I'm falling asleep at my keyboard. Sorry!

-Brandon
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.