Yeah. That's a generic response for "check if there's internet connection".

If there's a specific host to be connected to, then +1.


On Fri, Nov 20, 2009 at 4:17 PM, Mark Ryall <[email protected]> wrote:
> Wouldn't it be easier and more sensible to attempt what you actually
> want to do and handle failures appropriately?
>
> Whether you can ping google is irrelevant if the remote host you need is down.
>
> On Fri, Nov 20, 2009 at 3:53 PM, Joshua Partogi
> <[email protected]> wrote:
>> Hi all,
>>
>> I'm wondering if anyone has ever been in this situation before. I want
>> to be able to load files dynamically from the internet, but I need to
>> check whether the customer has internet connection or not. Is this
>> doable with Ruby? Has anyone done this before?
>>
>> Many thanks for the insights.
>>
>> --
>> Certified Scrum Master
>> http://blog.scrum8.com | http://jobs.scrum8.com | http://twitter.com/scrum8
>>
>> --
>>
>> You received this message because you are subscribed to the Google Groups 
>> "Ruby or Rails Oceania" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to 
>> [email protected].
>> For more options, visit this group at 
>> http://groups.google.com/group/rails-oceania?hl=.
>
> --
>
> You received this message because you are subscribed to the Google Groups 
> "Ruby or Rails Oceania" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/rails-oceania?hl=.
>
>
>

--

You received this message because you are subscribed to the Google Groups "Ruby 
or Rails Oceania" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rails-oceania?hl=.


Reply via email to