Kai Moritz wrote: > Hi folks! > > I'm trying to send a broadcast message over RTnet. This email from > (http://www.mail-archive.com/rtnet-users@lists.sourceforge.net/msg00312.html) > from Oct 2004 says, that you only have to create a package with a > broadcast destination adress. But RTnet only says: "RTnet: host > 255.255.255.255 unreachable" or "RTnet: host 127.0.0.255 unreachable".
What does rtroute tell you about available destination IPs on your system? Note that every IP you want to send a message to has to be covered by some route in RTnet, i.e. either by a host or a net route. > Another hin I found says, that (when dealing with the normal kernel > ip-stack) you have to put the socket in broadcast-mode first with > setsockopt(sock,SOL_SOCKET,SO_BROADCAST,...)) but this also does not > work with RTnet (setsockopt_rt returns ENOPROTOOPT)... No, this is not required for RTnet. > Any idea what I'm doing wrong? > At the moment I'm using RTnet 0.8.3 with RTAI 3.2 and Kerne 2.4 > > Greetings Kai > Jan
signature.asc
Description: OpenPGP digital signature