是否有可能以处理插座级代理? [英] Is it possible to handle proxies at socket level?
问题描述
我做的Windows,现在envolving HTTP协议的一些网络编程。
I'm doing some networking programming for Windows right now envolving the HTTP protocol.
是否有可能在处理套接字级prosies?和SSL代理?如果没有,的Windows提供的东西在更高的层次来处理它们?我不希望使用第三方库,但如果没有别的路可走我会重新考虑它。
Is it possible to handle prosies at socket level? And SSL proxies? If not, does Windows provide something at a higher level to handle them? I wouldn't like to use a third party library, but if there's no other way to go I would reconsider it.
一个指向一个例子也将是巨大的。
A pointer to an example would also be great.
非常感谢你。
推荐答案
您可以使用如的Windows Internet(的WinINet)API的 http://msdn.microsoft.com/en-us/library/aa383630%28v=VS.85%29.aspx 或Windows HTTP服务(WinHTTP)的http:// MSDN。如果仅用于HTTP协议有趣microsoft.com/en-us/library/aa384273%28v=VS.85%29.aspx 的。使用此API的优点是:
You can use for example Windows Internet (WinINet) API http://msdn.microsoft.com/en-us/library/aa383630%28v=VS.85%29.aspx or Windows HTTP Services (WinHTTP) http://msdn.microsoft.com/en-us/library/aa384273%28v=VS.85%29.aspx if are interesting for HTTP protocol only. Advantage of using this API is:
- 他们是微软的标准,并会在很多微软的产品中使用
- 他们是操作系统的一部分,存在于任何Windows
- 您可以找到很多的例子,几乎每一个主题
你打算怎样与代理工作的?
What kind of working with proxies do you plan?
这篇关于是否有可能以处理插座级代理?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!