Global Names

Hi,
I am trying to port all my previous QNX4 programs over to QNX6 RTOS, my
question is whether QNX6 programs can connect to QNX4 global names, or
vice versa? It would be very helpful if I could port over my systems one
at a time rather then all at one, but then I need to be able to
communicate between the two systems.
Thanks in advance,

Chris Nasr
cnasr[at]mechtronix[dot]ca
Mechtronix Systems Inc.

QNX4 native networking is not supported by QNX6. So the answer to your
question is No.

QNX4 and QNX6 can talk to each other via TCP/IP. I realize that that
doesn’t help in porting a QNX4 app.


Bill Caroselli – 1(530) 510-7292
Q-TPS Consulting
QTPS@EarthLink.net


“Chris Nasr” <cnasr@mechtronix.ca> wrote in message
news:3C065959.41498F23@mechtronix.ca

Hi,
I am trying to port all my previous QNX4 programs over to QNX6 RTOS, my
question is whether QNX6 programs can connect to QNX4 global names, or
vice versa? It would be very helpful if I could port over my systems one
at a time rather then all at one, but then I need to be able to
communicate between the two systems.
Thanks in advance,

Chris Nasr
cnasr[at]mechtronix[dot]ca
Mechtronix Systems Inc.

Well it does, it means I’ll have to convert everything to TCP/IP but that
isn’t really a big problem. Thanks for the help.

Bill Caroselli wrote:

QNX4 native networking is not supported by QNX6. So the answer to your
question is No.

QNX4 and QNX6 can talk to each other via TCP/IP. I realize that that
doesn’t help in porting a QNX4 app.


Bill Caroselli – 1(530) 510-7292
Q-TPS Consulting
QTPS@EarthLink.net

“Chris Nasr” <> cnasr@mechtronix.ca> > wrote in message
news:> 3C065959.41498F23@mechtronix.ca> …
Hi,
I am trying to port all my previous QNX4 programs over to QNX6 RTOS, my
question is whether QNX6 programs can connect to QNX4 global names, or
vice versa? It would be very helpful if I could port over my systems one
at a time rather then all at one, but then I need to be able to
communicate between the two systems.
Thanks in advance,

Chris Nasr
cnasr[at]mechtronix[dot]ca
Mechtronix Systems Inc.


Chris Nasr
cnasr[at]mechtronix[dot]ca
Mechtronix Systems Inc.

“Chris Nasr” <cnasr@mechtronix.ca> wrote in message
news:3C0662EE.DD8055BB@mechtronix.ca

Well it does, it means I’ll have to convert everything to TCP/IP but that
isn’t really a big problem.

I don’t know how your system is designed but it could
be much more complicated then you thing. For example
there is not such think as proxy concept under TCP/IP,
nor sending signals nor spawning etc. You can work
around that, there are solution but it’s not always simple.
I would take a closer look at this before getting started :wink:


Thanks for the help.

Bill Caroselli wrote:

QNX4 native networking is not supported by QNX6. So the answer to your
question is No.

QNX4 and QNX6 can talk to each other via TCP/IP. I realize that that
doesn’t help in porting a QNX4 app.


Bill Caroselli – 1(530) 510-7292
Q-TPS Consulting
QTPS@EarthLink.net

“Chris Nasr” <> cnasr@mechtronix.ca> > wrote in message
news:> 3C065959.41498F23@mechtronix.ca> …
Hi,
I am trying to port all my previous QNX4 programs over to QNX6 RTOS,
my
question is whether QNX6 programs can connect to QNX4 global names, or
vice versa? It would be very helpful if I could port over my systems
one
at a time rather then all at one, but then I need to be able to
communicate between the two systems.
Thanks in advance,

Chris Nasr
cnasr[at]mechtronix[dot]ca
Mechtronix Systems Inc.


\

Chris Nasr
cnasr[at]mechtronix[dot]ca
Mechtronix Systems Inc.

Mario,
I have already converted the code to TCP/IP when I made windows versions, so it
shouldn’t be all that hard to use the same logic in QNX6. At least I hope not.

Mario Charest wrote:

“Chris Nasr” <> cnasr@mechtronix.ca> > wrote in message
news:> 3C0662EE.DD8055BB@mechtronix.ca> …
Well it does, it means I’ll have to convert everything to TCP/IP but that
isn’t really a big problem.

I don’t know how your system is designed but it could
be much more complicated then you thing. For example
there is not such think as proxy concept under TCP/IP,
nor sending signals nor spawning etc. You can work
around that, there are solution but it’s not always simple.
I would take a closer look at this before getting started > :wink:

Thanks for the help.

Bill Caroselli wrote:

QNX4 native networking is not supported by QNX6. So the answer to your
question is No.

QNX4 and QNX6 can talk to each other via TCP/IP. I realize that that
doesn’t help in porting a QNX4 app.


Bill Caroselli – 1(530) 510-7292
Q-TPS Consulting
QTPS@EarthLink.net

“Chris Nasr” <> cnasr@mechtronix.ca> > wrote in message
news:> 3C065959.41498F23@mechtronix.ca> …
Hi,
I am trying to port all my previous QNX4 programs over to QNX6 RTOS,
my
question is whether QNX6 programs can connect to QNX4 global names, or
vice versa? It would be very helpful if I could port over my systems
one
at a time rather then all at one, but then I need to be able to
communicate between the two systems.
Thanks in advance,

Chris Nasr
cnasr[at]mechtronix[dot]ca
Mechtronix Systems Inc.


\

Chris Nasr
cnasr[at]mechtronix[dot]ca
Mechtronix Systems Inc.


Chris Nasr
cnasr[at]mechtronix[dot]ca
Mechtronix Systems Inc.

Chris Nasr wrote:

Hi,
I am trying to port all my previous QNX4 programs over to QNX6 RTOS, my
question is whether QNX6 programs can connect to QNX4 global names, or
vice versa? It would be very helpful if I could port over my systems one
at a time rather then all at one, but then I need to be able to
communicate between the two systems.

Have a look to

http://www.sourceforge.net/projects/openqnx

You will find here PVM-3.4.4 for QNX 4.25 and QNX 6.1. It is now possible
to build a lean cluster environment
witch allows tranparent interprocess communication between QNX4,QNX6,
M$Windows and UNIX systems.
(PVM is based on a secure datagram (UDP) protocol …)

Using the PVM API … every QNX4 and QNX6 application will be compatible at
source code level!

Complete platform independency can be archived by using wxWindows or Qt as
GUI … that means QNX4 and QNX6 applications will be source code
compatible with e.g. M$-Window (using the same APIs)

Armin

http://www.steinhoff-automation.com

BTW, PVM allows also to build task groups … so it is just a finger snipp
to realize publisher/subscriber communication.

Thanks in advance,

Chris Nasr
cnasr[at]mechtronix[dot]ca
Mechtronix Systems Inc.

Thanks but I don’t want compatibility at source code level, I actually want one
program on QNX6 to talk to a program on QNX4 using global names, but I’ve
already been told it can’t be done.

a-steinhoff@web_.de wrote:

Chris Nasr wrote:

Hi,
I am trying to port all my previous QNX4 programs over to QNX6 RTOS, my
question is whether QNX6 programs can connect to QNX4 global names, or
vice versa? It would be very helpful if I could port over my systems one
at a time rather then all at one, but then I need to be able to
communicate between the two systems.

Have a look to

http://www.sourceforge.net/projects/openqnx

You will find here PVM-3.4.4 for QNX 4.25 and QNX 6.1. It is now possible
to build a lean cluster environment
witch allows tranparent interprocess communication between QNX4,QNX6,
M$Windows and UNIX systems.
(PVM is based on a secure datagram (UDP) protocol …)

Using the PVM API … every QNX4 and QNX6 application will be compatible at
source code level!

Complete platform independency can be archived by using wxWindows or Qt as
GUI … that means QNX4 and QNX6 applications will be source code
compatible with e.g. M$-Window (using the same APIs)

Armin

http://www.steinhoff-automation.com

BTW, PVM allows also to build task groups … so it is just a finger snipp
to realize publisher/subscriber communication.


Thanks in advance,

Chris Nasr
cnasr[at]mechtronix[dot]ca
Mechtronix Systems Inc.


Chris Nasr
cnasr[at]mechtronix[dot]ca
Mechtronix Systems Inc.

Chris Nasr wrote:

Thanks but I don’t want compatibility at source code level, I actually want one
program on QNX6 to talk to a program on QNX4 using global names,

This is exactly what you can do with the PVM calls pvm_send and
pvm_receive if you place
your tasks in named task groups. The names of the tasks groups are
globally known …

but I’ve already been told it can’t be done.

Well, it isn’t possible with QNET / FLEET … but it is easily with PVM!

Armin


a-steinhoff@web_.de wrote:

Chris Nasr wrote:

Hi,
I am trying to port all my previous QNX4 programs over to QNX6 RTOS, my
question is whether QNX6 programs can connect to QNX4 global names, or
vice versa? It would be very helpful if I could port over my systems one
at a time rather then all at one, but then I need to be able to
communicate between the two systems.

Have a look to

http://www.sourceforge.net/projects/openqnx

You will find here PVM-3.4.4 for QNX 4.25 and QNX 6.1. It is now possible
to build a lean cluster environment
witch allows tranparent interprocess communication between QNX4,QNX6,
M$Windows and UNIX systems.
(PVM is based on a secure datagram (UDP) protocol …)

Using the PVM API … every QNX4 and QNX6 application will be compatible at
source code level!

Complete platform independency can be archived by using wxWindows or Qt as
GUI … that means QNX4 and QNX6 applications will be source code
compatible with e.g. M$-Window (using the same APIs)

Armin

http://www.steinhoff-automation.com

BTW, PVM allows also to build task groups … so it is just a finger snipp
to realize publisher/subscriber communication.


Thanks in advance,

Chris Nasr
cnasr[at]mechtronix[dot]ca
Mechtronix Systems Inc.


Chris Nasr
cnasr[at]mechtronix[dot]ca
Mechtronix Systems Inc.