That's how TCP sequence numbers work as well.