Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Deleting/adding ARP entries



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:
http://lists.apple.com/mailman/options/macnetworkprog/email@hidden

This email sent to email@hidden
References: 
 >Deleting/adding ARP entries (From: Tim michals <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.