• 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: SCNetworkCheckReachabilityByName && proxies
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SCNetworkCheckReachabilityByName && proxies


  • Subject: Re: SCNetworkCheckReachabilityByName && proxies
  • From: Allan Nathanson <email@hidden>
  • Date: Wed, 18 Jun 2003 15:24:58 -0400

On Wednesday, June 18, 2003, at 2:55 PM, Glen Simmons wrote:

I'm trying to determine if it's safe to make an internet connection by using SCNetworkCheckReachabilityByName, but it's not working. I'm guessing that the problem is that I'm behind a firewall and connect through a proxy. I've searched high and low, but haven't found any mention of using SCNetworkCheckReachabilityByName behind firewalls. What's the scoop?

Simply put, SCNetworkCheckReachabilityByName knows nothing about proxy servers. The "name" you are passing as an argument will be evaluated via a name->lookup query (aka gethostbyname, getipnodebyname, getaddrinfo) and the returned flags will be based on the reachability of the addresses returned by the query.

... besides, I have no idea that the provided "name" needs to go through a web proxy, a ftp proxy, a ... proxy, ...

- Allan
_______________________________________________
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.

  • Follow-Ups:
    • Re: SCNetworkCheckReachabilityByName && proxies
      • From: Glen Simmons <email@hidden>
References: 
 >SCNetworkCheckReachabilityByName && proxies (From: Glen Simmons <email@hidden>)

  • Prev by Date: CFSocket question
  • Next by Date: Re: SCNetworkCheckReachabilityByName && proxies
  • Previous by thread: SCNetworkCheckReachabilityByName && proxies
  • Next by thread: Re: SCNetworkCheckReachabilityByName && proxies
  • Index(es):
    • Date
    • Thread