Re: does SCNetworkCheckReachabilityByName work?
Re: does SCNetworkCheckReachabilityByName work?
- Subject: Re: does SCNetworkCheckReachabilityByName work?
- From: Allan Nathanson <email@hidden>
- Date: Mon, 19 Aug 2002 18:28:57 -0700
n Monday, August 19, 2002, at 06:18 PM, Chris Silverberg wrote:
I am trying to use SCNetworkCheckReachabilityByName to detect whether
contacting a website is likely to cause PPP to dial. When i call this
function on 10.1.5, it returns true... however flags is zero. This
doesn't
make sense to me... shouldn't at least one of the defined flags in
SCNetwork.h be set? Or does 0 have a special meaning that isn't
documented?
That's not the answer I would have expected. Can you exec the
following command and send the resulting output:
scutil -d -r <hostname>
- Allan
p.s. a code snippet would be even better!
_______________________________________________
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.