2009-01-13から1日間の記事一覧

NS2のTcpAppの使い方とか

使いまわせない set tcp1 [new Agent/TCP/FullTcp] set tcp2 [new Agent/TCP/FullTcp] set tcp3 [new Agent/TCP/FullTcp] $ns attach-agent $n1 $tcp1 $ns attach-agent $n2 $tcp2 $ns attach-agent $n2 $tcp3 set app1 [new Application/TcpApp $tcp1] set …