Re: check internet connection with curl
Date: Thu, 24 Apr 2008 21:43:39 +0200
no problem i guess .
you mean just to make simple http post operation ?
what will be the lightest curl operation to do , to determine if there
is internet connection ?
On Thu, Apr 24, 2008 at 6:50 PM, Gary Maxwell <gmaxwell_at_casabi.com> wrote:
> Meir Yanovich wrote:
> > thanks for the explanation about pings.
> > what about doing ping to one major site like google.com
> > and according to the result determine if im online or not .
> > the reason i need this check is that the client need to preform his
> > best guess when there is
> > internet connection after loosing connection .
> And performing a curl operation isn't good enough to determine if you
> have a good connection? Why not?
> Once again, ping is unreliable for what you want. The ping may fail even
> if your connection is fine.
Received on 2008-04-24