• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Is it "Proper" way to use SCNetworkReachability.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: Is it "Proper" way to use SCNetworkReachability.
      • From: Dave Camp <email@hidden>
  • Prev by Date: NSTextDidChangeNotification reporting wrong object
  • Next by Date: Re: How much does NSObject's bind:toObject:withKeyPath:options: do?
  • Previous by thread: Re: NSTextDidChangeNotification reporting wrong object
  • Next by thread: Re: Is it "Proper" way to use SCNetworkReachability.
  • Index(es):
    • Date
    • Thread