[haiku-gsoc] Re: Sending ARP probes from net_server
- From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
- To: haiku-gsoc@xxxxxxxxxxxxx
- Date: Tue, 17 Jun 2008 17:28:41 +0200 CEST
"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.
- References:
- [haiku-gsoc] Sending ARP probes from net_server
- From: Alex Roman
Other related posts:
- » [haiku-gsoc] Sending ARP probes from net_server
- » [haiku-gsoc] Re: Sending ARP probes from net_server
- » [haiku-gsoc] Re: Sending ARP probes from net_server
- [haiku-gsoc] Sending ARP probes from net_server
- From: Alex Roman