I want to download a jpg file from internet, but I want to make the header up myself and download it using WinSock. I know how to use sockets and how to make POST queries etc. My question is: How do I receive a jpg from server so the file remains untouched and doesn't break on 0 byte, and then how do I display it from the memory?
There must be some libraries that allow you to load jpg from memory, not from a file...