How to download html page via proxy using winsock2
Thanks
you dont even have to use c++. write a batch script to telnet the server you want to connect then use the command get
. Then use >>
operator to write it to a file
Different types of proxies use different types of communication protocols, so first you need to decide which type of proxies you want to support in the first place - the HTTP CONNECT
verb, SOCKS, etc. Implement that first, then once you have successfully established a socket connection with a target server through a proxy, then read RFC 2616 for how to implement the HTTP protocol over that connection.