Re: Deleting/adding ARP entries
Re: Deleting/adding ARP entries
- Subject: Re: Deleting/adding ARP entries
- From: Quinn <email@hidden>
- Date: Wed, 29 Mar 2006 12:59:17 +0100
At 21:07 -0800 28/3/06, Tim michals wrote:
I'm trying to delete and add arp entries, via an C
api, found the example, ARPSample using OpenTransport,
my understanding it is not recommended to use for OS
X.
Not only "not recommended", but also "not functional". The ARPSample
code will not work on Mac OS X, period.
using BSD, you must be super user, suggestions?
There is really no way to get around this. All ARP table
manipulation APIs require you to be running as root.
In general I recommend that you factor your ARP code into a separate
tool, as demonstrated by MoreAuthSample.
<http://developer.apple.com/samplecode/MoreAuthSample/MoreAuthSample.html>
S+E
--
Quinn "The Eskimo!" <http://www.apple.com/developer/>
Apple Developer Technical Support * Networking, Communications, Hardware
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden