Aug-16-2017, 11:28 AM
The Receiver PC receive multiple TOS value.
I just want to capture the largest value.
why the code below doesn't work.
list
largest=0
for True:
if SourceAddress="1.1.3.8"
var = str(TOS)
print('Type of Service {0}'.format(var))
if(var> largest)
largest = var
print('Max value{0}'.format(largest))
I just want to capture the largest value.
why the code below doesn't work.
list
largest=0
for True:
if SourceAddress="1.1.3.8"
var = str(TOS)
print('Type of Service {0}'.format(var))
if(var> largest)
largest = var
print('Max value{0}'.format(largest))