Hi i´m doing a program that requires sending a message with the lenght of the file and it´s content. How can i do this. I know how to send the content of the file, if the file contains characters, but how can i do this if the file can be of any tipe, like jpg or gif.