From experiments/interfaces
$ cd experiments/interfaces
$ make gumstix
$ scp gs.out root@<xena's ip>:/home/root/gs.out
$ ssh root@<xena's ip>
$ ./gs.out
root@xena:~$ ./gs.out
It is my belief that this demo is running on a gumstix.
Setting acceptor IP to: 10.81.3.129
Status = 0
***** SERVICE HANDLER ************************
Service type: Data Aggregator.
Endpoint handle: 3.
Broadcast handle: -1.
Connection handle: Unset.
IP: 10.81.3.129.
Port number: 10005.
Interface: wlan0.
**********************************************
***** SERVICE HANDLER ************************
Service type: Data Aggregator.
Endpoint handle: 3.
Broadcast handle: 4.
Connection handle: Unset.
IP: 10.81.3.129.
Port number: 10005.
Interface: wlan0.
**********************************************
When I run this program on the mac, I can use tcpdump to see the broadcasted
packets.
When I run this program on xena the gumstix, tcpdump sees no broadcasted
packets.
My suspicion is that mkaddr() is not portable. I need to print the resulting
addresses to confirm this problem. I also may need to figure out a better way
to construct the broadcast address.
Original issue reported on code.google.com by
tanya.crenshawon 22 Jul 2013 at 10:08