【问题标题】:Dccp protocol simulation in ns2 2.34ns2 2.34中的dccp协议模拟
【发布时间】:2016-07-07 14:10:53
【问题描述】:

如何在 ns2 2.34 中添加 dccp 补丁?请给我详细的步骤。

文件是ns234-dccp-1.patch

当我尝试模拟 dccp 时出现错误

Kar@ubuntu:~$ ns audiodccp.tcl 
invalid command name "Agent/DCCP/TCPlike" 
    while executing 
"Agent/DCCP/TCPlike create _o726 " 
    invoked from within 
"catch "$className create $o $args" msg" 
    invoked from within 
"if [catch "$className create $o $args" msg] { 
if [string match "__FAILED_SHADOW_OBJECT_" $msg] { 
delete $o 
return "" 
} 
global errorInfo 
error "class $..." 
    (procedure "new" line 3) 
    invoked from within 
"new Agent/DCCP/TCPlike" 
    invoked from within 
"set dccp1 [new Agent/DCCP/TCPlike]" 
    (file "audiodccp.tcl" line 50) 

UBUNTU-10.04 NS2 烯丙酮 2.34

【问题讨论】:

    标签: patch dccp


    【解决方案1】:

    audiodccp.tcl:未知文件。

    无效的命令名称“代理/DCCP/TCPlike”

    → → 您的构建失败。或者您使用了错误的可执行文件“ns”。建议是这样做:

    cd ns-allinone-2.34/-ns-2.34/
    cp ns ns-dccp
    sudo cp ns-dccp /usr/local/bin/
    

    ...然后用$ ns-dccp [file.tcl]进行模拟

    您也可以使用默认包含 DCCP 的 ns-2.35。

    注意:您可以根据需要多次安装 ns-allinone-2.xx,同时安装。但是:永远不要将任何 PATH 文本添加到 .bashrc。不需要。



    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2018-10-15
      • 1970-01-01
      • 2015-07-02
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-02-18
      • 1970-01-01
      相关资源
      最近更新 更多