摘要: 1. Simple.tcl代码注释 为了方便查看数据传输过程,我将原本的$ns color 2 white 改为了$ns color 2 yellow,使其与白色背景有所区别。 set ns [new Simulator] #set设置变量,new Simulator创建对象,[]内为表达式,赋给n 阅读全文
posted @ 2020-07-25 22:07 Sno_W_olF 阅读(720) 评论(0) 推荐(0)
摘要: 1. 在操作系统Windows中安装虚拟机VMware。 2. 在虚拟机中安装Linux内核的操作系统Ubuntu。 3. 在操作系统Ubuntu中安装仿真软件NS2。 更新系统 sudo apt-get update #更新源列表 sudo apt-get upgrade #更新已经安装的包 su 阅读全文
posted @ 2020-07-25 09:50 Sno_W_olF 阅读(2030) 评论(0) 推荐(0)