cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Using curl to go to site and get info returned

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 23 Aug 2001 08:33:06 +0200 (MET DST)

On Wed, 22 Aug 2001, Goodrum, Vince wrote:

> I have curl command being executed by a Script under unix in the
> following format

[snip]

> This is coming back eventually with the following
>
> curl: Can't connect to server: 145

That "145" is the errno number set when connect() returns error. In my
/usr/include/sys/errno.h file, that means:

#define ETIMEDOUT 145 /* Connection timed out */

... which probably means that the server is busy and you can try to connect
againt.

-- 
    Daniel Stenberg -- curl groks URLs -- http://curl.haxx.se/
Received on 2001-08-23