[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ns] full tcp and wireless



Hi all,
  I am trying to use full tcp in a wireless simulation. Previous questions
about this have gone unanswered.So, I am asking this again.
I modified the simple-wireless.tcl in the marc greiss tutorial to use full
tcp and the output I got from running it and the change to the script are
given below.

set client [new Agent/TCP/FullTcp]
$client set class_ 2
set server [new Agent/TCP/FullTcp]
$ns_ attach-agent $node_(0) $client
$ns_ attach-agent $node_(1) $server
$ns_ connect $client $server 
set ftp [new Application/FTP]
$ftp attach-agent $client
$server listen
$ns_ at 10.0 "$ftp start"

And when I run it I get,

Starting Simulation...
100.002244: FullTcpAgent::recv(_o50): bad ACK (21) for our SYN(1)
100.003852: FullTcpAgent::recv(_o51) got packet lacking ACK (seq 21)
106.001873: FullTcpAgent::recv(_o50): bad ACK (21) for our SYN(1)
106.003462: FullTcpAgent::recv(_o51) got packet lacking ACK (seq 21)
NS EXITING...

I also don`t see any syn or syn/ack packets in the connection
establishment phase. Can someone let me know what is going on here and
what to do to correct this..

Thanks.
Jeyandran