Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Msg passing approaches under Qnet: (4 Items)
   
Msg passing approaches under Qnet  
I have developed an adhoc network among several 6.3.2 machines. Currently, one need to communicate with one another. 

e.g, one process on machine A has generated some data from the data acquisition board and do some processing with it, 
then the processed data need to be transferred to another process in machine B.

As i know, one way is that A put the processed data in a file, then B can access the data across the Qnet, much like 
write and open a file on the wireless network. But it seems to me not very efficient, any other better ways of 
transferring data? Thank u.
Re: Msg passing approaches under Qnet  
Check out our documentation.  It covers our message passing API which
includes specifying a node for across qnet communications.  If you have an
IP network, you can also just use sockets, of course.

  Robert

-----Original Message-----
From: Alex Doherty <dohertytek@gmail.com>
To: technology-networking <post5442@community.qnx.com>
Sent: Sat Mar 01 07:41:46 2008
Subject: Msg passing approaches under Qnet

I have developed an adhoc network among several 6.3.2 machines. Currently,
one need to communicate with one another. 

e.g, one process on machine A has generated some data from the data
acquisition board and do some processing with it, then the processed data
need to be transferred to another process in machine B.

As i know, one way is that A put the processed data in a file, then B can
access the data across the Qnet, much like write and open a file on the
wireless network. But it seems to me not very efficient, any other better
ways of transferring data? Thank u.

_______________________________________________
Technology
http://community.qnx.com/sf/go/post5442
Re: Msg passing approaches under Qnet  
Thank u, Robert. So what are the pros and cons, relationship of each method?

> Check out our documentation.  It covers our message passing API which
> includes specifying a node for across qnet communications.  If you have an
> IP network, you can also just use sockets, of course.
> 
>   Robert
> 
> -----Original Message-----
> From: Alex Doherty <dohertytek@gmail.com>
> To: technology-networking <post5442@community.qnx.com>
> Sent: Sat Mar 01 07:41:46 2008
> Subject: Msg passing approaches under Qnet
> 
> I have developed an adhoc network among several 6.3.2 machines. Currently,
> one need to communicate with one another. 
> 
> e.g, one process on machine A has generated some data from the data
> acquisition board and do some processing with it, then the processed data
> need to be transferred to another process in machine B.
> 
> As i know, one way is that A put the processed data in a file, then B can
> access the data across the Qnet, much like write and open a file on the
> wireless network. But it seems to me not very efficient, any other better
> ways of transferring data? Thank u.
> 
> _______________________________________________
> Technology
> http://community.qnx.com/sf/go/post5442


RE: Msg passing approaches under Qnet  
It would be a good idea to refer to the Programmers Guide "Transparent
Distributed Networking with Qnet" section. It discusses some of these
questions. 

Thanks

Dave

> -----Original Message-----
> From: Alex Doherty [mailto:dohertytek@gmail.com]
> Sent: Wednesday, March 05, 2008 4:51 AM
> To: technology-networking
> Subject: Re: Msg passing approaches under Qnet
> 
> Thank u, Robert. So what are the pros and cons, relationship of each
> method?
> 
> > Check out our documentation.  It covers our message passing API which
> > includes specifying a node for across qnet communications.  If you have
> an
> > IP network, you can also just use sockets, of course.
> >
> >   Robert
> >
> > -----Original Message-----
> > From: Alex Doherty <dohertytek@gmail.com>
> > To: technology-networking <post5442@community.qnx.com>
> > Sent: Sat Mar 01 07:41:46 2008
> > Subject: Msg passing approaches under Qnet
> >
> > I have developed an adhoc network among several 6.3.2 machines.
> Currently,
> > one need to communicate with one another.
> >
> > e.g, one process on machine A has generated some data from the data
> > acquisition board and do some processing with it, then the processed
> data
> > need to be transferred to another process in machine B.
> >
> > As i know, one way is that A put the processed data in a file, then B
> can
> > access the data across the Qnet, much like write and open a file on the
> > wireless network. But it seems to me not very efficient, any other
> better
> > ways of transferring data? Thank u.
> >
> > _______________________________________________
> > Technology
> > http://community.qnx.com/sf/go/post5442
> 
> 
> 
> 
> _______________________________________________
> Technology
> http://community.qnx.com/sf/go/post5508