Kai Moritz wrote:
> Hi everybody,
> 
> I've changed the round-trip-time example, so that the packets are send
> as a broadcast (have a look at the atachment). This way, multiple
> round-trip-times can be measured simulanously. It works fine for two

There was some similar example available with pre-0.9.0 versions. I was
too lazy to update this to latest release and preferably move it to
userspace. You may find it currently in the SVN version under
examples/broken/round-trip-time/{multi-client,server}. Sorry, if you did
some work twice now, but I will look at your code, maybe it's already
what we need to re-enable this test case.

> seperate hosts. But when I start the responder on the same host as the
> sender, it receives no packets (setting the device in promiscous mode
> doesn't change the situation). Can anybody tell me why (or what I do
> wrong)?

Broadcast packets are not looped back. You may either send your packet
to some rtlo-assigned route or to an outgoing interface, but not both
automatically at the same time - at least not yet. One may consider to
add a feature for duplicating outgoing packets if there are multiple
matching routes. Just takes someone to hack it.

> 
> By the way, I would suggest a RTnet Showroom like the one from RTAI. I
> think, if there were a public accessable Repository, where everyone can
> upload and correct examples, a lot of usefull examples would accumulate
> fast. Then, an official version with working examples could be easily
> extractet and shipped with (or site by site with) the RTnet distribution...
> 

I'm not a fan of the showroom concept, it's tricky to find for most
users, and someone has to maintain it *additionally* to the main example
code base. I would rather prefer patches to add new or re-enable broken
examples in the main repository. The smoother those patches are to
integrate the faster they will become publicly available. Or even
better: is there someone willing to become an examples maintainer? SVN
write access is quickly set up. ;)

Jan

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to