为 Zend_Service_Amazon_S3 选择不同的网络接口
我想知道是否可以为 Zend_Http_Client
设置网络接口(即 eth0:1
或 eth0:2
),它用于 <代码>Zend_Service_Amazon_S3。
I wondered if it's possible to set the network interface (i.e. eth0:1
or eth0:2
) for the Zend_Http_Client
, which is used in Zend_Service_Amazon_S3
.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
使用套接字绑定并输入 eth0:2 的 IP
请参阅本页上的示例#2: http://framework.zend.com/manual/en/zend.http.client.adapters.html
Use socket bindto and enter the IP of your eth0:2
See Example #2 on this page: http://framework.zend.com/manual/en/zend.http.client.adapters.html