• 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
Re: Is it "Proper" way to use SCNetworkReachability.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Is it "Proper" way to use SCNetworkReachability. (From: Andrei Tchijov <email@hidden>)

  • Prev by Date: Re: NSBrowser drawing
  • Next by Date: Re: Re: SQL Development
  • Previous by thread: Is it "Proper" way to use SCNetworkReachability.
  • Next by thread: Daemon / Server startup issues. Help experts!!
  • Index(es):
    • Date
    • Thread