newbie problem

Hi,

I am a newbie in QNX. I am reading the online document in QNX now. Would
anyone recommend me to do anything to help to get familiar with this QNX
now?

I want to write a small program which creates two processes. Process A send
a message to B, and then B reply a message which will be shown in Process A.
Would anyone guide me how to do it?

Thx anyway,



Bunny, Shih Bun, Yu

Bunny Yu <bunnypanda@hotmail.com> wrote:

Hi,

I am a newbie in QNX. I am reading the online document in QNX now. Would
anyone recommend me to do anything to help to get familiar with this QNX
now?

I want to write a small program which creates two processes. Process A send
a message to B, and then B reply a message which will be shown in Process A.
Would anyone guide me how to do it?

Look at the Library Reference go to the Library Summary and look at the
Neutrino-specific IPC functions, there should be plenty of examples here to
get you going…

You’ll want to look at ConnectAttach() and MsgSend() for the client, and
ChannelCreate(), MsgReceive() and MsgReply() and ChannelDestroy() for the
server.

It’s all elbow grease my friend, and the docs are a good start. You might
want to start with the QNX Neutrino System Architecture Guide, then move to
the Building Embedded Systems Guide, then the Development Tools…

Chris

Thx anyway,

Bunny, Shih Bun, Yu