Hi i used Telnet application with tcp in NS2.35 . And i found generated trace file is empty. howz it possible?? even in Nam window no data flows. i tried a lot but could not find the solution. i am attaching my ".tcl" file(tried simple script) Please have a look once and help me if u can. Thanks
############################## set n0 [$ns node] set n1 [$ns node] $ns duplex-link $n0 $n1 1Mb 10ms DropTail set tcp0 [new Agent/TCP] # $tcp0 set ssthresh_ 50 $ns attach-agent $n0 $tcp0 set telnet0 [new Application/Telnet] $telnet0 attach-agent $tcp0 $telnet0 set interval_ 20 set sink0 [new Agent/TCPSink] $ns attach-agent $n1 $sink0 $ns connect $tcp0 $sink0 $ns at 0.5 "$telnet0 start" $ns at 4.5 "$telnet0 stop"