I've been trying to get the soruce page of a site using sockets, and found a code on the internet...
It works for the main sites, for ex. cplusplus.com, but not for cplusplus.com/info
I am guessing this, is not homework therefore I suggest using WinInet it is dedicated to interaction with Internet specifically Websites.
Read and learn from documentation provided by MSDNJust Love it!
MSDN Documentation: http://msdn.microsoft.com/en-us/library/windows/desktop/aa383630(v=vs.85).aspx
@andywestken, I'm having a problem with your code....
when I try to convert the char* to string, it delets most of the data of the char*, and only keeps the end of the source file (mostly garbage)...