cURL / Mailing Lists / curl-library / Single Mail

curl-library

How to change address family

From: Krishna Chaithanya Muthyala <chetan.eee_at_gmail.com>
Date: Mon, 24 Aug 2009 16:49:35 +0530

Hi,

I want to change the address-family for sockets created by libcurl code. Is
there anyway I can do that?

I know libcurl provides many callbacks and found one with name
CURLOPT_OPENSOCKETFUNCTION. Using this callback, will I be able to change
the family.

Somehow it is not working for me. Can anyone explain the usage or point to
any example?

I would be thankful if someone can explain it a little bit.

Thanks and Regards,
krishna
Received on 2009-08-24