cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Limiting IP addresses CURL is allowed to connect to.

From: Sam Olsen <psyzzle_at_gmail.com>
Date: Fri, 8 Aug 2008 07:56:33 +0200

Right. My bad ;)

I misread the documentation for OPENSOCKETFUNCTION, thinking it was a simple
wrapper
for socket(2), and nothing more.

Thanks for your help.

On Thu, Aug 7, 2008 at 11:09 PM, Daniel Stenberg <daniel_at_haxx.se> wrote:

> On Thu, 7 Aug 2008, Dan Fandrich wrote:
>
> Perhaps it's time to reconsider the idea and brush up the patch...
>>>
>>
>> Wasn't this implemented as the CURLOPT_OPENSOCKETFUNCTION?
>>
>
> Ah you're right! Damn, my memory is not serving me at all at times...
> CURLOPT_OPENSOCKETFUNCTION is exactly what should be used to add "black
> lists" or "preparing actions for upcoming connections" etc of specific
> addresses.
>
> --
>
> / daniel.haxx.se
>
Received on 2008-08-08