cURL
Your ad here would be seen by 100,000 unique vistors every month Haxx ad
libcurl

Shopping cart software, Online file storage, Online photo storage, Hosted shopping cart, Contact management software, Email marketing software, Project management software, Issue tracking software, Online notepad, Web publishing software

curl's project page on SourceForge.net

cURL > Mailing List > Monthly Index > Single Mail

curl-library Archives

Re: CURLOPT_OPENSOCKETFUNCTION, disconnect?

From: thhk nhkr <thhknhkr_at_yahoo.com>
Date: Sun, 26 Apr 2009 01:17:43 -0700 (PDT)

--- On Fri, 4/24/09, Daniel Stenberg <daniel_at_haxx.se> wrote:

From: Daniel Stenberg <daniel_at_haxx.se>
Subject: Re: CURLOPT_OPENSOCKETFUNCTION, disconnect?
To: "libcurl development" <curl-library_at_cool.haxx.se>
Date: Friday, April 24, 2009, 11:48 AM

On Thu, 23 Apr 2009, thhk nhkr wrote:

> I tried using CURLOPT_OPENSOCKETFUNCTION option to fully control the sockets. So I opened the socket by myself and saved the fd, but what happens if the libcurl is deciding to disconnect the socket? Is there any indication?

Uh, no... I guess it would make perfect sense to also have a CLOSESOCKETFUNCTION. Was that more or less what you were looking for?

-- 
 / daniel.haxx.se
Thanks for the answer,
YES! that exactly what I was looking for.
Is this option implemented?
Thanks,
Thhk.
      
Received on 2009-04-26

These mail archives are generated by hypermail.

donate! Page updated April 20, 2009.
web site info

File upload with ASP.NET