cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-library Mailing List Archives

Re: libcurl to determine active internet feed without connection?

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 28 Oct 2009 13:35:17 +0100 (CET)

On Tue, 27 Oct 2009, Max L. Eidswick wrote:

> Simple question: I would like to use CURL to determine if the local machine
> is actively connected to the internet without creating traffic. I am
> prototyping on Win32.
>
> Is there a libcurl way of finding out if the Windows machine is actively
> connected to the internet without probing a site?

That's not possible. "internet connected" is not a simple ON/OFF switch
somewhere in the computer.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2009-10-28

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET