问题
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
来源:https://stackoverflow.com/questions/2809559/using-a-socks-proxy-from-c