RE: Am I Connected (Cont)
RE: Am I Connected (Cont)
- Subject: RE: Am I Connected (Cont)
- From: John Cebasek <email@hidden>
- Date: Tue, 12 Feb 2002 09:01:45 -0500
Hi Folks:
So, looking at OTPingSample, I could just try and ping the target (just
once?) and if that works, yippee, I'm connected?
And, in trying to carbonize OTPingSample, in the CreateAndConfigICMP
function, I'm getting a -3200 (Not permitted) error as a result from
OTOpenEndpoint(). Is it my lack of network programming experience, or is
not using the new versions of the unsupported APIs (the ones without the
OTClientContextPtr parameter) enough to get this carbonized?
All best
John Cebasek
email@hidden
>
----------
>
From: Quinn
>
Sent: Tuesday, February 12, 2002 4:43
>
To: email@hidden
>
Subject: Re: Am I Connected (Cont)
>
>
At 14:51 -0600 11/2/02, Sean Bullington wrote:
>
>If you're looking for a way on OSX, couldn't you check the status of the
>
>interface?
>
>
You could, but that's what the SCF reachability APIs were designed
>
for. They provide an abstraction layer on top of the various OS
>
internals that tells you whether attempting to connect is a good idea.
>
>
S+E
>
--
>
Quinn "The Eskimo!" <http://www.apple.com/developer/>
>
Apple Developer Technical Support * Networking, Communications, Hardware
>
_______________________________________________
>
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.