Concept message passing to network

Hi everybody!

Is there any person who know how to use the message passing within a
network.

As a matter of fact, i’ve found informations about message passing with
MsgSend, MsgReceive, MsgReply but i don’t know how to give the adress of the
client i want to send a message.

thanks

“bart” <bart21@voila.fr> wrote in message news:9r3ctv$ip$1@inn.qnx.com

Hi everybody!

Is there any person who know how to use the message passing within a
network.

As a matter of fact, i’ve found informations about message passing with
MsgSend, MsgReceive, MsgReply but i don’t know how to give the adress of
the
client i want to send a message.

You don’t have to give the address. The connection id used by MsgSend can
be
obtain via open(). Hence to connectec to another machine you do;
open("/net/machinename/path"). That’s assuming a your server has setup a
path name.

If your server doesn’t have a pathname, look at ConnectAttach().

QNX messages are not related to TCP/IP, they required the QNET protocol
stack
to be install.

thanks

Hi…

Take a look at this article:

http://qdn.qnx.com/articles/jan2601/resmgr.html

then read the online docs at:

http://qdn.qnx.com/support/docs/neutrino_2.11_en/prog/resmgr.html

This information should help you. Also you may want to get a hold of
RK’s Nto book at:

http://www.parse.com/books/book_v3.html

Regards…

Miguel.


bart wrote:

Hi everybody!

Is there any person who know how to use the message passing within a
network.

As a matter of fact, i’ve found informations about message passing with
MsgSend, MsgReceive, MsgReply but i don’t know how to give the adress of the
client i want to send a message.

thanks

my opinions are mine, only mine, solely mine, and they are not related
in any possible way to the institution(s) in which I study and work.

Miguel Simon
Research Engineer
School of Aerospace and Mechanical Engineering
University of Oklahoma
http://www.amerobotics.ou.edu/
http://www.saic.com