How to connect to the server through a proxy using C sockets for Linux? I would like to see examples of connecting to the http proxy and sending a request to the server through it.

  • And there are a lot of types of proxies. What is yours? But usually it all comes down to what you need to connect to the proxy (the host port is known) and send it a request, specifying who to send it to. - KoVadim
  • I need to understand how to send this request to her. What should it look like, what headings and so on. - Uncle Sasha
  • What proxy you? there is http, socks4 / sock5, ssl proxy - KoVadim
  • http and socks4 / 5. - Uncle Sasha
  • Link to libproxy - business! libproxy.imtqy.com/libproxy - 0andriy

1 answer 1

  • socks4 - description
  • socks5 proxy - describes rfc 1928 . There is a translation . There are 8 pages and everything is just described. rcf 1929 describes how to pass a login password
  • Wikipedia itself is also written , but in other words.
  • Is there any documentation for http proxy? - Uncle Sasha