Hi,

I'm trying to run an HSTCP agent in my simulation.  I was told using a 
TCP SACK agent and the following parameters would allow me to simulate 
an HSTCP agent:

#Create a HS TCP agent and attach it to node n0
Agent/TCP/Sack1 set max_ssthresh_ 100
Agent/TCP/Sack1 set windowoption_ 8
set tcp0 [new Agent/TCP/Sack1]
$ns attach-agent $n0 $tcp0

However, when I try to run this script I get an error "Floating point 
exception"

The line that's causing the problem is :
Agent/TCP/Sack1 set max_ssthresh_ 100

I have also tried :
Agent/TCP/Sack1 set max_ssthresh_ 100.0

Any ideas?

Reply via email to