-4

How to download html page via proxy using winsock2

Thanks

  • this should be covers in 1) winsock documentation 2) HTTP documentation. Have you looked up either? – tletnes Mar 08 '13 at 19:58

2 Answers2

0

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

deeiip
  • 3,319
  • 2
  • 22
  • 33
0

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.

Community
  • 1
  • 1
Remy Lebeau
  • 555,201
  • 31
  • 458
  • 770