#Create a simulator object
set ns [new Simulator]
#Define different colors for data flows (for NAM)
$ns color 1 Blue
$ns color 2 Red
#Open the NAM trace file
set nf [open out.nam w]
$ns namtr
我已經安裝了ns-2.35(它正在工作)。 我想下面然而經過 「做」 這個Guide 安裝Mannasim命令我得到一個錯誤: mannasim/leach/mac/leach-wireless-phy.o: In function `hdr_rca::offset()':
leach-wireless-phy.cc:(.text._ZN7hdr_rca6offsetEv[_ZN7hdr_rca