curl - CURLOPT_INTERFACE not working in php -



curl - CURLOPT_INTERFACE not working in php -

i not able bind ip addresses set in network interface

the next command works curl --interface 41.141.41.23 https://www.google.com

but $toset[curlopt_interface] = "41.141.41.23 "; in php doesn't work , throw bind failed errno 22: invalid argument

i sure $toset[curlopt_interface] = "41.141.41.23 "; right way utilize multiple address in application have confirm coder , many people using same way without issue

my curl version : curl 7.19.7

"41.141.41.23 " => "41.141.41.23" there space;

php curl

Comments

Popular posts from this blog

Delphi change the assembly code of a running process -

json - Hibernate and Jackson (java.lang.IllegalStateException: Cannot call sendError() after the response has been committed) -

C++ 11 "class" keyword -