I'm using libcurl to fire HTTP request.
Does lincurl load complete page in single shot, or for sub-links on page i.e. .css or. png file it request separately.
I'm using libcurl to fire HTTP request.
Does lincurl load complete page in single shot, or for sub-links on page i.e. .css or. png file it request separately.
libcurl does not automatically send any sub-requests for any links in the requested resource. This would be a completely unreasonable behaviour for any linked media.
To retrieve linked media, you have to extract the links from the resource you initially retrieve, and then do separate requests for them as needed (just like a web browser does behind the scenes).