Dear all, when we write ( assuming ftp source is attach to TCP agent) $ns at 1.0 " $ftp1 start" automatically it will start with sending first packet & sending bulk data for the sender TCP agent.I have implemented a my own new transport protocol called STP. In tcl script when write set stp [new Agent/STP] $ns attach-agent $n1 $stp set ftp [new Application/FTP] $ftp attach-agent $stp $ns at 1.0 "$ftp start" I want FTP to start sending the packets automatically for my new transport protocol as it does it for TCP. Where and what changes I have to make in ns2 to let FTP send packets automatically.
Thank you