IOC and messaging between two nodes
Submitted by shrinidar on Wed, 2006-11-22 22:01.
I am using the Evaluation Kit samples to test IOC. I want to use clIocSend and clIocReceive between two nodes. I made new applications and launch each on a Payload Node. The first application uses clIocSend( ) to send a message. The second application uses clIocReceive( ) to receive a message.
My second application never receives. Just stops as clIocReceive( ) forever.
I have several questions.
1. What is the simplest set of code to make this work?
2. Does this work or does IOC only work on same node, not across nodes?
3. Can you explain what the clIocSend( ) protoType parameter is for? 2.2 docs say it is the Protocol ID. what is this?

Hi,
Here are the answers for your questions
1. One send and receive cycle is a simple test for IOC. If you could share your code we can look into it. Alternatively look at src/SISP/models/eval/app/csa701App
This gives an idea of how to write a small test case.
2. IOC works on multiple nodes.
3. IOC is a transport mechanism. IOC supports a notion of a protocol to enable its upper layers to identify specific classes of messages. The concept is similar to IP layer supporting protocol id. Lok at the following file to get a better idea of IOC protocol usage.
src/SISP/components/ioc/include/clIocProtocols.h
Thanks,
Hari