Robert Murrell
|
Sending and receiving ARP packets through libsocket
|
Robert Murrell
07/27/2011 4:47 PM
post87637
|
Sending and receiving ARP packets through libsocket
To work around an incompatibility between lsm-autoip.so and dhcp.client, I have decided to roll my own autoip mechanism.
This should be simple, but I can not open a socket to the ARP layer. I'm assuming I have to use the AF_ARP protocol
family as defined in socket.h, but I can't find the right combination of arguments to socket to get it to open. I have
to guess because there is no documentation on how to do this.
Does anyone have sample code to send and receive ARP packets?
P.S. I am developing under QNX 6.5.0. And despite having the Standard Support plan, I have been waiting months for
access to the networking source code.
|
|
|