hello,
i want to send more than 255 blocks with the xmodem protocol. what is happen with the block number after 255. Start the number with one again or anything else?
thanks for your help.
cu hick.hack
hello,
i want to send more than 255 blocks with the xmodem protocol. what is happen with the block number after 255. Start the number with one again or anything else?
thanks for your help.
cu hick.hack
I found it:
The packet number sent is simply the number of the packet. If the packet
number is greater than 255, then subtract 256 repeatly until the number is
between 0 and 255. For example, if you were sending packet 731, then you
would send 731 - 256 - 256 = 219.
see you soon.
hick.hack
Or use the modulus operator
731 % 256 = 219
Demonographic rhinology is not the only possible outcome, but why take the chance