Re: Error -3200 with Endpoint type kRawIPName
Re: Error -3200 with Endpoint type kRawIPName
- Subject: Re: Error -3200 with Endpoint type kRawIPName
- From: Robert Kuilman <email@hidden>
- Date: Thu, 31 Oct 2002 18:52:42 +0100
OK :-) this list is having a lag...
i've already downloaded the AuthSample, and am searching the list's
archives...
hope that will help :-)
Thanks,
Robert K.
On Thursday, October 31, 2002, at 06:27 PM, 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
On Thursday, October 31, 2002, at 08:49 AM, Robert Kuilman wrote:
Hey all!
i am trying to open a raw ip socket... with the following code:
OSStatus err;
OTConfiguration *theConfig = OTCreateConfiguration(kRawIPName);
ep = OTOpenEndpointInContext(theConfig, 0, nil, &err, nil);
if (err == kOTNoError) {
err = OTBind(ep, nil, nil);
}
return (err);
(i put OTCreateConfiguration not in the OTOpenEndpointInContext
function, to trace the origin of the error)
creating the config goes OK, but when i try to open the endpoint, i
get
a -3200 error on result...
when i use kTCPName as configuration type, everything goes OK....
searching the ADC gave me ''look in OpenTransport.h for a
description,
somehow, i cant find it in OpenTransport.h (ProjectBuilder, MacOS X
10.2.1)
anyone got a sollution for this ?
Thanks in advance,
Robert K.
_______________________________________________
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.
_______________________________________________
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.
_______________________________________________
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.