Re: Is it "Proper" way to use SCNetworkReachability.
Re: Is it "Proper" way to use SCNetworkReachability.
- Subject: Re: Is it "Proper" way to use SCNetworkReachability.
- From: Dave Camp <email@hidden>
- Date: Fri, 22 Sep 2006 12:30:45 -0700
That would be a good question for the networking list, not the Cocoa
list...
Dave
On Sep 22, 2006, at 7:03 AM, Andrei Tchijov wrote:
Hi,
In one of my applications, I need to make sure that networking is
available before proceeding. "SCNetworkReachability API" is the way
to do it. The question is which host name/address should be used
in "SCNetworkReachabilityCreateWithName"? It looks like (and it
definitely works in my case) that pretty much ANY IP address (other
than local host?) will do. According to DOC, the API just ensure
that "packets" addressed to the target host will "leave the local
box".
Am I correct in my interpretation of the DOC? Will the fact that I
am using completely arbitrary IP, bite me later on?
Your comments will be highly appreciated.
Very best regards,
Andrei Tchijov
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40criticalpath.com
This email sent to email@hidden
---
You are in a maze of testy little Java VMs, all subtly different.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden