"Alistair" <ringwood@honeywell.com>
2006-08-04 13:26:38 UTC
Hi
I have a bare test app for getting multicast up and running, and when
compiled on the desktop for XP, it works fine: the socket creates ok, the
soket is bound to the correct address and a read thread is launched
containing a recvfrom(), socket options are set to join the multicast group
on the appropriate port, and i can send and receive data just fine.
however when compiled on CE 5.0 for our target, all the calls perform
successfully, including setsockopt() with IP_ADD_MEMBERSHIP, yet the CE app
never receives any multicast data (while running XP peers do) but can send
just fine.
I have contacted the BSP vendors tech support but while I await thier
response, I saw this posted by Paul G. Tobey on 12th June 06 in the thread:
setsockopt(IP_MULTICAST_TTL,...) fails, why?
]"There's also a bug in multi-cast group membership that you should probably
]check the archives for. Another user found it and I confirmed it. Related
]to the value in b and c of a.b.c.d where that's the group address you're
]trying to join. I think that both b and c had to be zero, or something
like
]that. That shouldn't affect your TTL problem, but it will affect whether
]you actually get any packets, once you've got TTL working."
If this is the case I think I have fallen foul of this bug, but am unable to
find any more information on this.
I have searched the groups through google with 'multicast' 'multicast
windows ce' 'multicast bug' 'multicast windows ce bug' 'multicast ce
receive bug' yet yet can't find the appropriate (or similar) thread.
If someone could point me in the right direction I'd be most greatful.
Cheers!
I have a bare test app for getting multicast up and running, and when
compiled on the desktop for XP, it works fine: the socket creates ok, the
soket is bound to the correct address and a read thread is launched
containing a recvfrom(), socket options are set to join the multicast group
on the appropriate port, and i can send and receive data just fine.
however when compiled on CE 5.0 for our target, all the calls perform
successfully, including setsockopt() with IP_ADD_MEMBERSHIP, yet the CE app
never receives any multicast data (while running XP peers do) but can send
just fine.
I have contacted the BSP vendors tech support but while I await thier
response, I saw this posted by Paul G. Tobey on 12th June 06 in the thread:
setsockopt(IP_MULTICAST_TTL,...) fails, why?
]"There's also a bug in multi-cast group membership that you should probably
]check the archives for. Another user found it and I confirmed it. Related
]to the value in b and c of a.b.c.d where that's the group address you're
]trying to join. I think that both b and c had to be zero, or something
like
]that. That shouldn't affect your TTL problem, but it will affect whether
]you actually get any packets, once you've got TTL working."
If this is the case I think I have fallen foul of this bug, but am unable to
find any more information on this.
I have searched the groups through google with 'multicast' 'multicast
windows ce' 'multicast bug' 'multicast windows ce bug' 'multicast ce
receive bug' yet yet can't find the appropriate (or similar) thread.
If someone could point me in the right direction I'd be most greatful.
Cheers!
--
Alistair Brugsch
Software Engineer - Honeywell HPS
Please ask to email
Alistair Brugsch
Software Engineer - Honeywell HPS
Please ask to email