Re: SCNetworkCheckReachabilityByName && proxies
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.