How do I convert an image into a buffer so that I can send it over using socket programming? I'm using C++ socket programming. I am also using QT for my Gui.
Also, after sending it over through the socket, how do I put that image back together so it can become a file again?
If someone could put up some sample code that would be great :)
I was looking around and found something about rfile but still not going through my head.
tyty