When running long transmission tests at high speed multi-core CPU, sometimes transmission got broken, and in log files "Incorrect set number in received packet!" appeared.
The problem was caused by error in incrementing of acknowledged packet number. This variable shoud be incremented modulo SET_NUMBER_MASK.
Error is fixed in version 9 in SVN.