How I can use a SOCKS proxy from my C++ socket program?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
Your question is a bit vague, but I'll try to answer it anyway.
If found these links that might help you:
- A C++ socket library - Includes an sample of a Web Proxy
- Another C++ socket library - Includes also an example of Proxy
Using the SOCKS RFC and the cited links, you might be able to create a SOCKS proxy.
I don't like posting links as an answer but since you don't clearly state what you want to achieve, I can't really be more accurate...
回答2:
Here, use the socks wrapper from code project: http://www.codeproject.com/KB/IP/Socks.aspx
回答3:
http://www.codeproject.com/KB/IP/Socks.aspx - Socks Wrapper