cURL / Mailing Lists / curl-library / Single Mail

curl-library

Socket connect error after repeated failures

From: Gautam Mani <Gautam.Mani_at_Mobileum.com>
Date: Fri, 7 Jun 2002 11:49:46 -0700

Hi,

I am using libcurl 7.9.6 on solaris 8. I basically use libcurl to get a list
of files to download from a directory and then download and delete them one
after another using FTP. Due to some reason, there was no read access on the
files which i needed to download, so although I could list the files, I
could not download them. Repeatedly a data connection was made to the server
and a permission denied was received for each of the files.

After sometime (a large number of attempts) - libcurl started throwing
socket errors; the error code returned is 15 "can't resovlve hostname xxx".
In verbose mode, it says that gethostbyname_r failed for the host.

Has anybody else faced a similar problem or does someone have any other
ideas on this problem? I would really appreciate any pointers on this.

Thanks,
Gautam

_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
Received on 2002-06-07