Re: [ns] NS2 and Eclipse Debug

2011-11-30 Thread Zhou Sanqi
Hi, RamiHach I think maybe you should add the blue option i presented below in the Makefile of ns-2.xx, tclcl or otcl those you want to debug .cc.o: @rm -f $@ $(CPP) -g3 -c $(CFLAGS) $(INCLUDES) -o $@ $*.cc .c.o: @rm -f $@ $(CC) -g3 -c $(CFLAGS) $(INCLUDES) -o $@ $*.c *Zhou

[ns] congestion window size limit?

2011-09-03 Thread Wenxuan Zhou
Hi all, I met a problem about TCP congestion window size in NS-2 simulation. The setting is pretty simple: two nodes connected by a link (bandwidth 1Gbps, delay 20ms). But I found out the window size didn't increase after it reached 20, and there was no packet loss at all. So I was wondering if N

Re: [ns] Problem with running NS2 after installation

2010-09-07 Thread Gang Zhou
Cygwin prompt is as follows: > > mo...@mobin ~ > $ ns > bash: ns: command not found > > I don't know why this happens but I'm pretty sure that 'ns.exe' exists in > 'ns-2.35' folder, which is declared in PATH. > > Is there any suggestion

[ns] how to set the link delivery probability between nodes in NS2

2010-01-04 Thread jiantao Zhou
Hi,all I'm wondering how to set the link delivery probability between nodes,says 3 nodes,node 0 set message to node 2 via node 1,while at the same time,node 2 set message to node 0 via node 1. Thanks in advance!

[ns] lossmonitor bind variable error

2009-12-16 Thread jiantao Zhou
is of no use,i wonder where the error is?Ang clues? Thanks in advance! Jiantao Zhou test script: ** # == # Define options # == set val(chan) Chan

[ns] segmentation fault(core dumped) when making

2009-11-13 Thread jiantao Zhou
Hi *I have installed the ns2 2.31 all in one version on cygwin in Windows Vista environment. I've added some modules to ns for my designed routing.Therer is no error in making however,when I run the below example, the ns2 will segmentation fault (core dumped).I use GDB to find where the problem

[ns] NS-2 extends to cooperating with GridSim

2007-07-03 Thread Yanbo Zhou
Dear All, Could anyone give me some ideal How to extend the NS-2 in cooperating with GridSim, please? Best Wishes. Yanbo

[ns] tmix implementation in ns2 ?

2007-06-27 Thread zhou
Hi,all Does anyone know whether tmix has been implemented in ns 2.31. there is little stuff on internet. thanks in advance. anfu zhou

Re: [ns] How to specify "wait" in ns2

2006-05-21 Thread Zhou Ya Jin
I think you can use the timer class of NS2 in c++. You can find how to use timer in most souce code, such as tcp.cc, tfrc.cc. - Original Message - From: "Heo Heo" <[EMAIL PROTECTED]> To: Sent: Monday, May 22, 2006 12:47 PM Subject: [ns] How to specify "wait" in ns2 > > I am worki

Re: [ns] Help Scheduler: Event UID not valid!

2006-05-18 Thread Zhou Ya Jin
Question 1: Scheduler:: Event UID not valid! Answer: Each event in NS2 has a unique UID. The scheduler toggles the UID twice, once during dispatching and once during scheduling. Thus, the event has a positive UID

Re: [ns] Multiple simulations in NS

2006-05-15 Thread Zhou Ya Jin
1)First you need to read some books about "linux shell program". Then you will know what is the meaning of "#!/bin/sh". 2) That is because your environment variable is not setting properly. a) you can change your environment variable The ".bashrc" file is at your home directory # .bashrc # U

Re: [ns] no such element in array

2006-05-15 Thread Zhou Ya Jin
I think you used a variable "Node_(26)" in your tcl script but it has not been created yet. Look into your tcl script at line 332. - Original Message - From: <[EMAIL PROTECTED]> To: Sent: Tuesday, May 16, 2006 5:55 AM Subject: [ns] no such element in array > > Hi, > > I am tryi

Re: [ns] how to from C ++ call the parameter of CBR flow in tcl file

2006-04-18 Thread Zhou Ya Jin
I do not understand your question exactly. But I think you can find the answer in the ns manual. If you want to set the parameter of CBR in tcl script, just use set command. - Original Message - From: "??" <[EMAIL PROTECTED]> To: "ns-users" Sent: Wednesday, April 19, 2006 11:08 AM Subje