So you read one byte then check to see if the 1st 3 bytes of that == "IMG".....
why, whatever could be the problem??
How about doing something crazy like get the whole message before checking and possibly saving it?
So you read one byte then check to see if the 1st 3 bytes of that == "IMG".....
why, whatever could be the problem??
How about doing something crazy like get the whole message before checking and possibly saving it?