Is it "Proper" way to use SCNetworkReachability.
Is it "Proper" way to use SCNetworkReachability.
- Subject: Is it "Proper" way to use SCNetworkReachability.
- From: Andrei Tchijov <email@hidden>
- Date: Fri, 22 Sep 2006 10:03:37 -0400
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:
This email sent to email@hidden