On Fri, 16 Aug 2013, Zhongxing Ming wrote:
Could anyone suggest me how to do pass a custom socket to curl using PHP? The socket has a new address family which is neither IPv4 or IPv6. I saw the example of external socket in externalsocket.c and tested my socket in externalsocket.c. It worked fine. But I don't know how to let curl use my socket in PHP.
You're talking about how to do things with the PHP/CURL binding. They have their own mailing list in curl-and-php where features and functions of that are discussed.
I would assume that if it doesn't already support that libcurl option, it shouldn't be that hard to add it to the binding.
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html
