curl-library
Re: Fwd: [PATCH] check ip callback
From: Alexey Pesternikov <paster_at_page2rss.com>
Date: Mon, 1 Oct 2007 17:12:32 -0700
Date: Mon, 1 Oct 2007 17:12:32 -0700
On 9/29/07, Dan Fandrich <dan_at_coneharvesters.com> wrote:
>
> On Sat, Sep 29, 2007 at 09:01:31PM -0700, Alexey Pesternikov wrote:
> > Sure, I will take care of that.
> > Looks like everybody is ok with the proposed interface? If so I will go
> ahead
> > and make a patch on monday.
> >
> > /* check ip and open the socket. returns socked opened or -1 on error */
> > typedef curl_socket_t (*curl_sockopen_callback)(void *clientp,
> > curlsocktype purpose,
> > const Curl_addrinfo* address);
>
> You mean including the curl_socket_t *fd?
No, I mean the function should return the fd or CURL_SOCKET_BAD.
-- Alexey, http://page2rss.com RSS feed from almost any pageReceived on 2007-10-02