Add Agent/TCP and Agent/TCPSINK so that we can use Mike's new trafgen
code in TCP mode. Simple changes. Works like this: set tcp0 [new Agent/TCP] $ns attach-agent $n2 $tcp0 set cbr1 [new Application/Traffic/CBR] $cbr1 attach-agent $tcp0 set null1 [new Agent/TCPSINK] $ns attach-agent $n3 $null1 Note, there are no state variables supported yet.
Please register or sign in to comment