Hello!
Can I rely on the CURLOPT_INTERFACE option to guaranteed binding
(reuse)  some connection?

CURL* session1 = curl_easy_setopt(easy, CURLOPT_INTERFACE, "127.0.0.1");
CURL* session2 = curl_easy_setopt(easy, CURLOPT_INTERFACE, "127.0.0.2");

on repeated calls (exclude errors) will always be same, like:

session1 re-use existing connection #1
session2 re-use existing connection #2
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html

Reply via email to