Ping Permission Problem
Ping Permission Problem
- Subject: Ping Permission Problem
- From: Terry Smyth <email@hidden>
- Date: Wed, 15 May 2002 15:53:06 +0100
Hi,
My application uses Ping to check network connectivity before launching a
browser at a particular URL. I'm following the sample code OTPingSample, and
all works fine on OS 9 and X up to OS X 10.1.3.
The problem starts in OS X 10.4, when I open try to open a raw IP endpoint,
I get an error -3200 (Permission denied).
*ep = OTOpenEndpointInContext (OTCreateConfiguration(kRawIPName),
(OTOpenFlags)NULL,NULL, &err, NULL);
I presume this is due to improved security checks barring raw IP
connections, but does anyone know how I can get around it, so that I can
send a ping, and look for the response?
Thanks,
Terry Smyth
da Vinci Software
_______________________________________________
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.