[haiku-gsoc] Re: Sending ARP probes from net_server

"Alex Roman" <alex.roman@xxxxxxxxx> wrote:
> I need to be able to send ARP probes from somewhere inside the net
> server, or do something similar (i.e. figure out if a certain IPv4
> address is in use).
> 
> I noticed that there is a
> kernel/network/datalink_protocols/arp/arp.cpp in the add-ons
> directory, but I don't know how it can be used...
> 
> Failing that I can probably construct the packets manually and send
> them using raw sockets...

Why not just send a single UDP packet to that host? That gives you the 
ARP probe for free.
How is that solved for other platforms?

Bye,
   Axel.


Other related posts: