Hi Gunnar, I do two things to prevent this from happening: > > - on the receiver side I do modulo 2**31 arithmetic > - on the sender side I limit the maximum random sequence restart number to > 2**30. > > I hope you mean: > - on the sender and receiver side I do modulo 2**31 arithmetic > > - on the sender side I limit the maximum random sequence restart number to > 2**30. >
actually yes, I do - but the difference between 2**31 and 2**30 is a cool billion, so wraparound really is never ever going to happen if the sender implements this strategy. Under these circumstances, doing modulo arithmetic is a mere precaution against clients that ignore this issue. I'm fine with specifying something re the wraparound in the standard, though - in fact, I would feel better if there were something. Mark, I have not forgotten about putting up other comments on XEP-0301, but this will have to wait for a few more days, while I take care of things that cannot wait. Best wishes Christian -- Christian Vogler, PhD Director, Technology Access Program Department of Communication Studies SLCC 1116 Gallaudet University http://tap.gallaudet.edu/ VP: 202-250-2795
