cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Connected state

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Tue, 27 Jan 2004 08:40:27 +0100 (CET)

On Mon, 26 Jan 2004, Mohit Kumar wrote:

> Is there anyway the curl library can get us info on the connected state of
> the local system? like the system is using lan or modem connection, or via
> proxy etc?

Nope. That information is not easily detectable on most operating systems, and
libcurl doesn't really care what kind of connection you're using (if any).

For detecting proxies, there's the separate project 'libproxydetect':

        http://sourceforge.net/projects/libproxydetect/

-- 
    Daniel Stenberg -- http://curl.haxx.se/ -- http://daniel.haxx.se/
   [[ Do not send mails to this email address. They won't reach me. ]]
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
Received on 2004-01-27