Download Web Page


How do i Download Web Page using C (not with libcurl), OS: Win32

Best Solution

To download a web page, you need two things:

  1. Establish a communication channel with the websever
  2. Manage the web server protocol to download a page.

For the first item, have a look at the socket API. You need to open a socket, send some data using send(), receive data from the webserver.

For the second item, you need to understand the http protocol.