curl-library
Re: How to change address family
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 24 Aug 2009 15:44:02 +0200 (CEST)
Date: Mon, 24 Aug 2009 15:44:02 +0200 (CEST)
On Mon, 24 Aug 2009, Krishna Chaithanya Muthyala wrote:
Please don't top-post: http://curl.haxx.se/mail/etiquette.html
> I have XIP bridge implemented in my environment and so the family values
> change for me. I can't use either AF_INET and AF_INET6.
>
> I have implemented the callback and changed only the family and not
> anything. But, when libcurl tries to do a connect(), it tries to connect to
> some wrong address and it fails.
Then I suggest you simply single-step into the library when your callback
returns and then you try to figure ouw what breaks the address. To me it seems
pretty straight-forward...
-- / daniel.haxx.seReceived on 2009-08-24