multicast problems

Dear all,

I am trying to make two software modules to comunicate throught
a Multicast connection using ACE 5.4.2 (Adaptive Communications Environment)
in a Qnx 6.2.1 box with a x86 processor.

Well, it does not work. The same code is working correctly under Linux and
Windows.

I have been trying to understand if Qnx supports Multicast. This seems so
because appears
in the ifconfig -a. But some messages here and there seem to complain about
multicast support
in Qnx. Can someone give me a definitive clarification?.

Thank you very much.

Carlos.

Next some common commands output…

The output of ifconfig -a:


lo0: flags=8009<UP,LOOPBACK,MULTICAST> mtu 33212
capabilities=7<IP4CSUM,TCP4CSUM,UDP4CSUM>
enabled=0<>
inet 127.0.0.1 netmask 0xff000000
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
inet6 ::1 prefixlen 128
en0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
capabilities=7<IP4CSUM,TCP4CSUM,UDP4CSUM>
enabled=0<>
address: 00:50:04:63:43:0c
media: Ethernet 100baseTX full-duplex
status: active
inet 130.251.43.15 netmask 0xffffff80 broadcast 130.251.43.127
inet6 fe80::250:4ff:fe63:430c%en0 prefixlen 64 scopeid 0x2
en1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
capabilities=7<IP4CSUM,TCP4CSUM,UDP4CSUM>
enabled=0<>
address: 00:50:04:0a:69:62
media: Ethernet 100baseTX full-duplex
status: active
inet 130.251.4.252 netmask 0xffffff00 broadcast 130.251.4.255
inet6 fe80::250:4ff:fe0a:6962%en1 prefixlen 64 scopeid 0x3

The output of pidin -p xxx mem:


pid tid name prio STATE code data stack
77843 1 sbin/io-net 10o SIGWAITINFO 56K 672K
8192(516K)*
77843 2 sbin/io-net 9o RECEIVE 56K 672K 4096(68K)
77843 3 sbin/io-net 10o RECEIVE 56K 672K 4096(68K)
77843 4 sbin/io-net 10o RECEIVE 56K 672K 4096(68K)
77843 5 sbin/io-net 10o RECEIVE 56K 672K 4096(68K)
77843 6 sbin/io-net 10o RECEIVE 56K 672K 4096(132K)
77843 7 sbin/io-net 21r RECEIVE 56K 672K 4096(132K)
77843 8 sbin/io-net 21r RECEIVE 56K 672K 4096(132K)
77843 9 sbin/io-net 10o RECEIVE 56K 672K 4096(132K)
77843 11 sbin/io-net 21r CONDVAR 56K 672K 4096(132K)
77843 12 sbin/io-net 21r CONDVAR 56K 672K 4096(132K)
ldqnx.so.2 @b0300000 312K 16K
npm-tcpip.so @b8200000 596K 140K
devn-el900.so @b82b8000 52K 8192
npm-qnet.so @b82c7000 136K 8192


The output of pci -v (for the network cards):


Class = Network (Ethernet)
Vendor ID = 10b7h, 3Com Corporation
Device ID = 9055h, 3C905B-TX Fast Etherlink 10/100 PCI TX NIC
PCI index = 0h
Class Codes = 020000h
Revision ID = 30h
Bus number = 0
Device number = 17
Function num = 0
Status Reg = 210h
Command Reg = 7h
Header type = 0h Single-function
BIST = 0h Build-in-self-test not supported
Latency Timer = 40h
Cache Line Size= 8h un-cacheable
PCI IO Address = d800h length 128 enabled
PCI Mem Address = ec003000h 32bit length 128 enabled
Subsystem Vendor ID = 10b7h
Subsystem ID = 9055h
PCI Expansion ROM = ea000000h length 131072 disabled
Max Lat = 10ns
Min Gnt = 10ns
PCI Int Pin = INT A
Interrupt line = 5
Capabilities Pointer = dch
Capability ID = 1h
Capabilities = f601h - 0h


Class = Network (Ethernet)
Vendor ID = 10b7h, 3Com Corporation
Device ID = 9055h, 3C905B-TX Fast Etherlink 10/100 PCI TX NIC
PCI index = 1h
Class Codes = 020000h
Revision ID = 30h
Bus number = 0
Device number = 20
Function num = 0
Status Reg = 210h
Command Reg = 7h
Header type = 0h Single-function
BIST = 0h Build-in-self-test not supported
Latency Timer = 40h
Cache Line Size= 8h un-cacheable
PCI IO Address = e000h length 128 enabled
PCI Mem Address = ec002000h 32bit length 128 enabled
Subsystem Vendor ID = 10b7h
Subsystem ID = 9055h
PCI Expansion ROM = eb000000h length 131072 disabled
Max Lat = 10ns
Min Gnt = 10ns
PCI Int Pin = INT A
Interrupt line = 10
Capabilities Pointer = dch
Capability ID = 1h
Capabilities = 7601h - 0h

Carlos Beltran wrote:

Dear all,

[snip]

I have been trying to understand if Qnx supports Multicast. This seems so
because appears
in the ifconfig -a. But some messages here and there seem to complain about
multicast support
in Qnx. Can someone give me a definitive clarification?.

QNX Definately supports multicast. I use it.

What are the errors you are seeing ?

Rennie Allen wrote:

Carlos Beltran wrote:


Dear all,


[snip]


I have been trying to understand if Qnx supports Multicast. This seems so
because appears
in the ifconfig -a. But some messages here and there seem to complain about
multicast support
in Qnx. Can someone give me a definitive clarification?.


QNX Definately supports multicast.

Yes, but only if you install the patch for qnx 6.2.1


–Armin


I use it.

What are the errors you are seeing ?

"> > QNX Definately supports multicast.

Yes, but only if you install the patch for qnx 6.2.1

Interesting. Which patch in particular?

What are the errors you are seeing ?

That’s the intriguing part. No errors at all. The socket
seems to send the stuff correctly. Simply, the data never
arrives to the other part…I have only checked the values
returned by the socket. I am not pretty sure how I can debug
the rest of the ip stack…

Carlos.