curl / Mailing Lists / curl-library / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Re: Specify specific IP address?

From: Felipe Gasper via curl-library <curl-library_at_cool.haxx.se>
Date: Fri, 6 Sep 2019 17:20:25 -0400

Never mind, I think I have it w/ the open-socket callback.

Thank you--sorry for the noise.

-FG

> On Sep 6, 2019, at 5:12 PM, Felipe Gasper via curl-library <curl-library_at_cool.haxx.se> wrote:
>
> Hello,
>
> Is it possible for libcurl to use a specified peer IP address when making a request?
>
> I tried using http://$ip/... with a custom Host header, but that makes SSL verification fail.
>
> Thank you!
>
> -Felipe Gasper
> Mississauga, Ontario
> -------------------------------------------------------------------
> Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
> Etiquette: https://curl.haxx.se/mail/etiquette.html

-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2019-09-06