Hello there, I'm having some trouble trying to converting images/characters/strings/data into a byte array and then send them.
In C++, I already have established a connection between the client - server and would like to send and receive data.
Now I'd like to send an install file which is like 1.3MB. How do I convert that into a byte array and then send it to the other side and convert it into the original file?
If possible, can you include a detailed example? It's hard as it is to just understand the concept.
Cheers!