简体   繁体   English

对WININET HTTP请求使用特定的网络接口

[英]Using a specific network interface for a WININET HTTP request

Is there a way to specify which local network interface to use when using the WININET interface for an outgoing HTTP request? 在将WININET接口用于传出HTTP请求时,是否可以指定使用哪个本地网络接口?

I know how to do it with WINSOCK (using bind()), but I can't find an equivalent way to do it using WININET. 我知道如何使用WINSOCK(使用bind())来做到这一点,但是我找不到使用WININET的等效方法。

WinInet不支持指定用于TCP连接的本地地址或端口。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM