udpClient.writeDatagram(myByte, myFile.size());
I don't understand what you are attempting here. You want to write one byte for the length of the entire file?
udpClient.writeDatagram(myByte, myFile.size());
I don't understand what you are attempting here. You want to write one byte for the length of the entire file?