Open zhaosir opened 8 years ago
What happens if identifier is equal to 0
i needs to fit within 32 bits, random.getrandbits(32)
will avoid collisions, if you sent two with 0, then you wouldn't know which one you were receiving in the response_handler
, nor would the enhanced notification be able to retry...
identifier = random.getrandbits(32) Will appear repeat?