Porting to Python3

This commit is contained in:
giacomo.tanganelli@for.unipi.it 2018-01-23 11:46:28 +01:00
parent ababdc44e6
commit 518a754993

View file

@ -12,7 +12,7 @@ SEPARATE_TIMEOUT = ACK_TIMEOUT / 2
ACK_RANDOM_FACTOR = 1.5 ACK_RANDOM_FACTOR = 1.5
MAX_RETRANSMIT = 1 MAX_RETRANSMIT = 4
MAX_TRANSMIT_SPAN = ACK_TIMEOUT * (pow(2, (MAX_RETRANSMIT + 1)) - 1) * ACK_RANDOM_FACTOR MAX_TRANSMIT_SPAN = ACK_TIMEOUT * (pow(2, (MAX_RETRANSMIT + 1)) - 1) * ACK_RANDOM_FACTOR