Re: [ns] debugging in ns-2.34

2011-08-01 Thread мαłłi
http://www.isi.edu/nsnam/ns/ns-debugging.html On 1 August 2011 14:07, shwta jain shwe...@sac.isro.gov.in wrote: Hi all, I want to debug ns-2 code(.cc files) in ns2. What is the procedure. Plz help me. Regards, Shweta Jain, -- Thanks, The box said Requires Windows 95, NT,

Re: [ns] tcl : create nodes

2011-05-19 Thread мαłłi
want to change the bandwidth sometimes? *Thank you! * On Tue, May 17, 2011 at 2:33 PM, мαłłi malli@gmail.com wrote: Tami, What I understand you question is you have an variable, based on that you need to create that much of users? Ex. set s 10 for {set i 0} {$i 10} {incr i

Re: [ns] tcl: read parameters form file

2011-05-17 Thread мαłłi
? On Mon, May 16, 2011 at 12:01 AM, мαłłi malli@gmail.com wrote: Nesher, It's already stored in a list tcpFallowUDP, please go through list command you understand very well. you want access first element lets* lindex $tcpFallowUDP 0 .. lindex $tcpFallowUDP nth* element. On 15

Re: [ns] tcl : create nodes

2011-05-17 Thread мαłłi
Tami, What I understand you question is you have an variable, based on that you need to create that much of users? Ex. set s 10 for {set i 0} {$i 10} {incr i} { set n$i [$ns node] } On 17 May 2011 15:43, Tami Nesher vessely...@gmail.com wrote: Hi, How can I create nodes according

Re: [ns] ffmpeg installation under Linux

2011-05-17 Thread мαłłi
Tami, http://ubuntuforums.org/showthread.php?t=786095 go though this link i hope that will help, On 15 May 2011 18:37, Tami Nesher vessely...@gmail.com wrote: Hi, I need to install ffmpeg on Ubuntu in order to do this: ./ffmpeg -i a01e.mp4 a01e.yuv I got the error that there is no file

Re: [ns] tcl: read parameters form file

2011-05-09 Thread мαłłi
Nesher, here the code, please let me know if i did any mistake set fid [open input.txt r] while {[gets $fid lineInfo] != -1} { regexp {.+: (\d+)} $lineInfo match one set tcpFallowUDP [lappend tcpFallowUDP $one] } puts $tcpFallowUDP On 8 May 2011 14:32, Tami Nesher vessely...@gmail.com

Re: [ns] Fw: ns2 installation error

2011-05-09 Thread мαłłi
Ehsan, I think you try to give execution permission nam, try to change chmod +x to nam (find location of nam) On 8 May 2011 15:26, Ehsan Chaudhary ehsanchaudh...@ymail.com wrote: - Forwarded Message From: Ehsan Chaudhary ehsanchaudh...@ymail.com To: ns-users@isi.edu Sent:

Re: [ns] XOR Tcl program required...

2011-05-08 Thread мαłłi
dont need any space between them.. The output should like msg1.. no space in between 1s and 0s... Waiting for ur reply... On Mon, May 9, 2011 at 10:26 AM, мαłłi malli@gmail.com wrote: yes yugesh, ^ operator is used of XOR operation, you go thourgh tcl wiki it is very good one