A forum for reverse engineering, OS internals and malware analysis 

Forum for discussion about user-mode development.
 #23893  by EP_X0FF
 Tue Sep 16, 2014 9:39 am
WSAStartup, gethostbyname, socket, connect, build GET request, send, recv, parse received, CreateFile/WriteFile/CloseHandle, closesocket, WSACleanup.
fsdhook wrote:Hi, everyone.
I want to download a file from specified URL, like: http://www.xxx.com/test.rar
I don't want to use any windows api like UrlDownloadToFile because maybe someday I will move the project to linux.
Please give me an simplest example.

Best regards.