| Cyberwarfare (120) | |
|
Hi C++ Forums, I am working (Learning) on a program in which the user enters a Website URL then the C++ Program will take the source code . I do not want to make it open source i want it to be Good. Not to bad about open source coders here. I know how to make a open source one but now want to make a non open source program. Please help | |
|
|
|
| modoran (1245) | |
|
Use libcurl rather than using winsock directly, it is much easier to use: http://www.haxx.se/libcurl/ | |
|
|
|
| Cyberwarfare (120) | |
| yes but the problem is it does not work ( i mean the link is not online) | |
|
Last edited on
|
|
| andywestken (1966) | ||
|
Try replacing 'www' with 'curl'... http://curl.haxx.se/libcurl/ e.g. simple HTTP http://curl.haxx.se/libcurl/c/simple.html
Also, if you want to go the Win32 way, it might be better to use WinINet rather than WinSock WinINet http://msdn.microsoft.com/en-us/library/windows/desktop/aa383630%28v=vs.85%29.aspx Common Functions http://msdn.microsoft.com/en-us/library/windows/desktop/aa383949%28v=vs.85%29.aspx But if don't need Win32 for other reasons, I'd stick to libcurl as it's cross-platform. Andy | ||
|
Last edited on
|
||
| kbw (5522) | |||
http://www.gnu.org/software/wget/
| |||
|
Last edited on
|
|||