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: Connected ?

From: Paul Johnson <paul_at_applewoodhouse.com>
Date: Mon, 14 Jul 2003 10:37:41 +0100

Fair point. I'm on win32 trying to talk to a unix server across an internet
connection. curl has initalised successfully and returned with no errors,
but I need to make my own program stop right there if an auto-dial flag
isn't set and theres no internet connection.

I was hoping I could make curl try a connection that doesn't actually do
anything or something like that just so I can get a "not connected" error
(or not as the case may be)

Regards,
Paul Johnson
Applewood House
www.applewoodhouse.com

----- Original Message -----
From: "Dan Fandrich" <dan_at_coneharvesters.com>
To: <curl-library_at_lists.sourceforge.net>
Sent: Monday, July 14, 2003 4:40 AM
Subject: Re: Connected ?

> On Mon, Jul 14, 2003 at 01:23:16AM +0100, Paul Johnson wrote:
> > Anyone please ?
> >
> >
> > Regards,
> > Paul Johnson
> > Applewood House
> > www.applewoodhouse.com
> >
> >
> > ----- Original Message -----
> > From: "Paul Johnson" <paul_at_applewoodhouse.com>
> > To: <curl-library_at_lists.sourceforge.net>
> > Sent: Saturday, July 12, 2003 4:08 PM
> > Subject: Connected ?
> >
> >
> > > Hi.
> > >
> > > I'm using libcurl to do some http file transfers. How can I do a test
> > > whether the internet connection is present before I go on to try and
do
> > some
> > > stuff over it ?
> > >
> > > Thanks...
>
> This is a platform-dependent function, and can be pretty tricky to do
right
> in certain cases. We need more information on what environment you're
> trying to do this in.
>
> >>> Dan
> --
> http://www.MoveAnnouncer.com The web change of address
service
> Let webmasters know that your web site has moved
>
>
> -------------------------------------------------------
> This SF.Net email sponsored by: Parasoft
> Error proof Web apps, automate testing & more.
> Download & eval WebKing and get a free book.
> www.parasoft.com/bulletproofapps1
>
>

-------------------------------------------------------
This SF.Net email sponsored by: Parasoft
Error proof Web apps, automate testing & more.
Download & eval WebKing and get a free book.
www.parasoft.com/bulletproofapps1
Received on 2003-07-14

These mail archives are generated by hypermail.

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

File upload with ASP.NET