Re: Error -3200 with Endpoint type kRawIPName
Re: Error -3200 with Endpoint type kRawIPName
- Subject: Re: Error -3200 with Endpoint type kRawIPName
- From: Joshua Graessley <email@hidden>
- Date: Thu, 31 Oct 2002 09:35:56 -0800
On Mac OS X 10.2 or later, there is a (probably undocumented) ICMP
socket you can open to send echo request packets and receive any ICMP
packets. This requires that you move away from the OpenTransport APIs.
For versions of Mac OS X prior to 10.2, you'll need to read about using
the authentication framework and setting up a separate tool that runs
as root to actually perform the work or pass an ICMP socket back to
your non-root process. This also requires moving to the sockets API. I
believe you can use the AuthSample sample code as a starting point.
-josh
On Thursday, October 31, 2002, at 09:27 AM, Robert Kuilman wrote:
Then, how can i send ICMP packages, without having root privileges...
because, now that you're telling me, it sounds like something i heard
before.
Robert K.
On Thursday, October 31, 2002, at 06:24 PM, Joshua Graessley wrote:
My guess is that you're getting a permission error. On Mac OS X,
opening a raw IP socket require root privileges.
-josh
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.