I am working on a function to sending arp request using network socket library in QNX7 invironment. It requires to send a broadcast ARP message (FF:FF:FF:FF:FF:FF MAC address) and receive a response from the destination with it MAC address. Does anyone have experience how to achieve this? Is there any code example? Thanks!
I would recommend using the BPF API. There are plenty of examples around on the Internet of how to send a packet with BPF.
Hi Nick, Thank you! Do you have any example code for that by any chance?
I don't have sample code handy for this exact scenario. Google returns some hits, but I haven't tried them. If you need more support I would suggest getting in touch with your QNX support person.