Re: [ns] arithmatic in TCL for ns2

2014-02-18 Thread Deepak Panwar
values, you may need to set the* tcl_precision* variable and get the desired result. % set tcl_precision 10 10 % set x [expr double($a)/$b] 0.018 With best regards, Deepak Panwar -- *"Effort is important, but knowing where to make an effort makes all the difference!"

[ns] TCP HighSpeed-Limited Slow Start Fix

2007-04-02 Thread deepak
When Highspeed TCP is used I get Floating Point Exceptions. Here are the trace values: (gdb) bt #0 0x0807e193 in TcpAgent::limited_slow_start (this=0x86617a8, cwnd=2, max_ssthresh=100, increment=0.5) at tcp/tcp.cc:986 ** tcp.cc:986 double Tcp

[ns] Regd eventrace-all

2007-01-31 Thread deepak
Can we attach a eventtrace to a single TCP agent? . I know that we could attach a single TCP agent to trace cwnd. Thanks, Deepak Expecting? Get great news right away with email Auto-Check. Try the Yahoo

[ns] Helpful Info regarding GDB / DDD and NS2

2007-01-23 Thread deepak
how to debug ns2 code using gdb or ddd Thanks to SamanaSrikanth and ameya. I found this on orkut. May be Pedro Estrela Should add this to his C++ debugging. ns - debug how to debug ns2 code using gdb or ddd? ok, so to enable debug informati

[ns] C++ Debugging (NS2) Useful Info

2007-01-15 Thread deepak
Check out the link below for C++ debugging and how to make changes in Makefile (CFLAGS) http://www.cs.ust.hk/~cszyz/ns2-debug.html http://tagus.inesc-id.pt/~pestrela/ns2/ Good Luck! Have a burning questi

[ns] Bound variable

2007-01-07 Thread deepak
How would i access bound variable in some cpp class in another cpp class __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com

[ns] bandwidth in trace files & simulation

2006-05-24 Thread deepak
hi all, I have trace files for ns2, in that i think the packet size is in Bytes (not bytes). As given in http://nile.wpi.edu/NS/ ( Check trace analysis section in that). In the link configuration i have set the bandwidth as 1Mb/10Mb. But when i check the throughput (by counting the Bytes r

[ns] windowsize & make ns2

2006-05-11 Thread deepak
Hi all, I want to change windowsize (tcl/lib/ns-default.tcl) tcp window size_ . After changing the variable value in the ns-default.tcl , i still get the same trace window size values. BUT when i do ( make clean & then make ) , the trace window size value changes. Should i do this ev

[ns] regd cal load

2006-04-19 Thread deepak
If i have an ftp source(infinite send) attached to a tcp source. How do i calculate the load in that case? deepak __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com

[ns] diff fulltcp and tcpsourcesink

2006-03-19 Thread deepak
hi all, i would like to know the difference between using regular {tcpSink,tcpSource} & fulltcp . I think fulltcp include sending & recv agents. Pl clarify deepak __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam pr

Re: [ns] How to set FDL parameters in ONS-ns

2006-03-19 Thread deepak
NFDLS is the number of FDLS used & MAXFDL's is the maximum of the fdls you could use. go through the obs/lib files & manuals(check the older versions) deepak __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam prot

[ns] problem executing wireless examples[uegent]

2006-03-12 Thread deepak kumar panwar
known: dropping pkt warning: Route to base_stn not known: dropping pkt warning: Route to base_stn not known: dropping pkt warning: Route to base_stn not known: dropping pkt warning: Route to base_stn not known: dropping pkt warning: Route to base_stn not known: dropping pkt NS EXITING... - is it a bug? how can i reslove this problem plz help me. thanking you for attention. regards deepak

[ns] problem in wireless.tcl run

2006-03-06 Thread deepak kumar panwar
  hi all... wn i run the wireless files on ns it gives the warning n does nt run... hw can i run these files...

[ns] ns command not found

2006-02-24 Thread deepak kumar panwar
attention regards deepak panwar nit kurukshetra india

[ns] problem in ns installation

2006-02-24 Thread deepak kumar panwar
this installation thanking u for attension -- DEEPAK KUMAR PANWAR m.tech.(ECE) NIT KURUKSHETRA GSM:+91-9896085534,9868373752

[ns] simple qtn on bind function

2005-12-21 Thread deepak
Hi all, Here's a qtn on bind method in ns2. I have a baseclass & 2 derived classes( different type of nodes : edgenode & corenode ). Baseclass has a instance variable (ptime) that both the subclasses use. But there is a bind function in the subclass as well as in the base class(?). I