Quote Originally Posted by wysota View Post
Then why are you trying to read them as an integer?
because I have no idea what the length of the integer might be as a character, 2 digits or 5 digits!
that's why I try to read 4 bytes = sizeof(char)