Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - IPC example code: (2 Items)
   
IPC example code  
Hi, 

I am trying to do a quick prototype and need sample client server code.  I need to create a client and server that are 
running in two differnt processes/programs.  I can not use mq or mqueue as the sever is linked aginst mqueue and client 
is linked against mq!!!.  I was thinking of the quickest way to do is to use ChannelCreate(), ChannelAttach(), msgSend()
, msgReceive() premetives.  However, I am not sure how the client and the server find each other using the ChannelAttach
 and ChannelCreate phase.

I would appreciate it is someone can point me to a working code sample that I can use as a guide to write my client/
server.  Also, if these premetives are not the appropriate ones to use for the purpose I described above, please suggest
 an alternative.

Thanks,

RS.
Re: IPC example code  
http://www.qnx.com/developers/docs/6.3.2/neutrino/prog/resmgr.html

On 11-10-12 12:29 PM, "Reza Salehi" <community-noreply@qnx.com> wrote:

>Hi, 
>
>I am trying to do a quick prototype and need sample client server code.
>I need to create a client and server that are running in two differnt
>processes/programs.  I can not use mq or mqueue as the sever is linked
>aginst mqueue and client is linked against mq!!!.  I was thinking of the
>quickest way to do is to use ChannelCreate(), ChannelAttach(), msgSend(),
>msgReceive() premetives.  However, I am not sure how the client and the
>server find each other using the ChannelAttach and ChannelCreate phase.
>
>I would appreciate it is someone can point me to a working code sample
>that I can use as a guide to write my client/server.  Also, if these
>premetives are not the appropriate ones to use for the purpose I
>described above, please suggest an alternative.
>
>Thanks,
>
>RS.
>
>
>
>_______________________________________________
>
>OSTech
>http://community.qnx.com/sf/go/post89337
>