Re: NSURL and NSRegularExpression
Re: NSURL and NSRegularExpression
- Subject: Re: NSURL and NSRegularExpression
- From: Conrad Shultz <email@hidden>
- Date: Sat, 03 Mar 2012 18:16:56 -0800
On 3/3/12 5:48 PM, Jens Alfke wrote:
> Look up the hostname. No ping required.
As I mentioned in the reply I just posted, even looking up the hostname
is potentially problematic. One obvious case that I overlooked in my
response: mandatory hostname lookup will cripple your functionality if
you don't have an active network connection.
As for ping, not only does the OP not need it, they shouldn't even think
about using it. A *huge* number of sites block ICMP echo requests. For
example, cnn.com (employing the OP's example) doesn't respond to ping!
This then quickly leads us down the reachability/two generals rabbit
hole that this list seems doomed to repeat every six months or so.
> Honestly, use Data Detectors.
Ditto, of course.
--
Conrad Shultz
Synthetiq Solutions
www.synthetiqsolutions.com
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden