[ns] how to implement GTS in wpan tcl file

2015-05-29 Thread boufedah badissi azzouz
Hi all, please, somebody tell me how to implement GTS (CFP) of IEEE 802.15.4 in tcl file. i found the implementation of the modification in WPAN for taking account of the GTS but i don't know how to implement in tcl file. thanks in advance

[ns] what does "proc cmu-trace" do in my tcl file

2015-05-29 Thread Hana Amira
Hi every body please I would like to know what does this function exactely proc cmu-trace { ttype atype node } { global ns_ tracefd if { $tracefd == "" } { return "" } set T [new CMUTrace/$ttype $atype] $T target [$ns_ set nullAgent_] $T attach $tracefd

Re: [ns] what does "proc cmu-trace" do in my tcl file

2015-05-29 Thread knudfl
Google, tcl proc https://www.google.com/webhp?hl=all&gws_rd=ssl#hl=en&q=tcl+proc → → http://wiki.tcl.tk/463 → → http://wiki.tcl.tk/38650 → → http://wiki.tcl.tk/463 → » proc, a built-in Tcl command, creates a new command. « - On Friday, May 29, 2015 at 4:05:59 PM UTC+2, mima Amira wrote: >

[ns] Call C++ function from TCL

2015-05-29 Thread Zakaria Derder
Hi, i think the title says it all. I just want to know how can i call a c++ method in my TCL script? Thanks.

[ns] You guys are my last chance

2015-05-29 Thread Zakaria Derder
Hello, how in a simple way can i detect congestion in a wired sensor network, please? My idea is to measure queue lengh in packets or maybe measure incoming thourghput with the available bandwith on the link? But i don't know how to do that in TCL script. Can anybody assist me? thanks.