tiger wrote:
I wonder if there are some sip implementations in ns2. Could you
please
email the codes to me or direct me to the appropriate website.
Thanks a lot.
One thing you should do before posting to the list is google for your topic.
--Timo
Wang Ivan wrote:
I traced the C++ source code for Agents and found that packets sent by an
agent is directly passed to the target agent ( target_-recv(p,h) ) rather
than to the lower layer. For real TCP/IP, packets should be passed down to
the physical layer, sent to the target, and then
Ramzi Tka wrote:
I would like to know which are the possible types of variables that we
could
bind to tcl variables? I'm considering pointer-typed C++ variable.
kind regards,
Look it up in the manual. Pointers are not supported IIRC.
--Timo
[EMAIL PROTECTED] wrote:
The agent.h file defines the argument to connect as nsaddr_t and not
ns_addr_t. (My ns version is ns-2.30)
Same here, I'm using 2.30 as well. You need to change the
definition/declaration to ns_addr_t.
And i need to dynamically connect src agent to dst agent, and
[EMAIL PROTECTED] wrote:
I need to connect agents dynamically for my purpose, so i have changed the
agent.cc code as suggested by the comments in it.
/* This function is a placeholder in case applications want to dynamically
* connect to agents (presently, must be done at configuration
[EMAIL PROTECTED] wrote:
I am working on add multi-interface multi-channel support in ns2 ,but
now I meet a segmentation fault in implementing adding Multiple Interface
Support in NS-2, I use command :
$gdb ns
$r channel.tcl
$bt
..
Now I think segmentation fault is caused
Woo Michael-W16734 wrote:
I am looking for ns projects where the network simulator is connected to
real hardware (such as WLAN access point). This will require an
interface that can capture real packets on the real network and convert
them appropriately for the simulator and let the
landrew wrote:
i'am using ns2.31,and i use tcl-debugger2 for debugging.
all things in debugging are ok except that after i use 'w' command to
watch call stack, then when i use the next command , most of the time i'll
get a core dump.
[snip!]
i've installed ns2 and tcl-debugger in cygwin
Das Santos Kumar wrote:
Could you please mention me where to get NS debugger for ns-29-3
(tcl8.4.11)?
For the compiled stuff, you just use any C/C++ debugger, like gdb or ddd.
For OTcl, there's a tcl debugger linked via the ns-2 webpage.
There's more information on this in the wiki
Sita S. Krishnakumar wrote:
I am writing to see if anyone has successfully changed node positions
dynamically in code? Node locations can be set using setdest in tcl code,
but I am looking to do it in the ns-2 code in c/c++.
Please share your experiences.
I don't know how to do that but I'm
Tiago Junqueira wrote:
After making:
./configure --prefix=/usr/local/stow/nam-1.11 --with-tk=
with the tk8.4 folder inside the nam's folder, i made:
make
and i got the error:
.c:87:29: error: X11/Xmu/WinUtil.h: No such file or directory
Install the `libxmu-headers' package.
If you
Kwnstantina Palla wrote:
Timo Reimann [EMAIL PROTECTED] said:
Kwnstantina Palla wrote:
I am using openSUSE 10.2 and recently i installed the
ns2-allinone-2.29
package.
after a succesful installation i followed the 'make ' command.
there i met some troubles.
Being more specific
Hi all,
I have a problem to tackle and I'd like to have some input from other ns2
users on how to accomplish my goal.
Basically, I'm trying to implement a protocol monitor, that is, an object
which is capable of intercepting (in terms of copying) packages designated
for a particular node and do
Kwnstantina Palla wrote:
I am using openSUSE 10.2 and recently i installed the ns2-allinone-2.29
package.
after a succesful installation i followed the 'make ' command.
there i met some troubles.
Being more specific:
make[1]: Entering directory
Hiya,
this request goes out to the people maintaining the ns-2 webpage. The only
maintenance info I've found on the website was the user's mailing-list
address. Since I had posted there and people suggested to put my request
here instead, I'm doing that right now. If there is someone else to
Sorry, wrong list again. My bad!
Timo Reimann wrote:
this request goes out to the people maintaining the ns-2 webpage. The only
maintenance info I've found on the website was the user's mailing-list
address. Since I had posted there and people suggested to put my request
here instead, I'm
golrokh mirzaee wrote:
I'm looking forward an NS SIP implementation, even a very basic one. If
anyone knows where i can find anything, please let me know.
Mailing-list.
Girma Kassa wrote:
I wrote a new protocol and try to patch to
ns-allinone-2.29. What I did is
1. I wrote the header and source files in C++
2. I make necessary changes as stated on manuals that
I got from internet
3. I changed the make file, i.e. add a line
mipbu/mipbu.o\ where mipbu is a
Anuradha Sehgal wrote:
Sir I did as you said about type casting
if (flags (0 ==strcmp(flags, NEW_BURST)))
rh-flags() |= RTP_M;
p-setdata(data);
printf(Data: %s :, ((PacketData*)p-userdata())-data());
target_-recv(p);
But it gives me segmentation error when i run the tcl
Jack Yang wrote:
I have a urgent question here.
http://www.catb.org/~esr/faqs/smart-questions.html#urgent
http://nsnam.isi.edu/nsnam/index.php/Troubleshooting#when_and_how_to_write_to_the_user.27s_mailing-list
When I used the vector in ns2 and declared like this:
vectorstring
Anuradha wrote:
First of all thanks to Mr. Timo, for his help regarding sendmsg().
It's either Timo or Mr. Reimann. I prefer the former. :)
As I wanted to see the data that i set in the tcl file, I edited the
../tcl/ex/udpdata.tcl like
$ns at 0.1 $udp0 send 724 Hello1
$ns at 0.2 $udp1
Anuradha wrote:
did you find the solution of Classifier no-slot problem.
I am also having the same problem.
Actually, I once had this very problem as well. Happened to me when I was
extending UdpAgent to allow connect-on-demand functionality and I had
not given the address in proper format
Hello Anuradha,
Anuradha Sehgal wrote:
Sorry to mail you personally.
I got your mail id from ns-users list.
Please don't address me personally, always use the mailing list. Other
people might have the same problem as you and will be glad you find any
help available through the mailing list
dorababu wrote:
I made some changes in aodv.cc for adding qos extention in aodv
protocol. after that i type make command in the konsole to check the
protocol.But i am getting following error expected primary-expression
before '.' token , i am unable to find the problem. any help
[EMAIL PROTECTED] wrote:
[EMAIL PROTECTED] wrote:
can some one tell me a procedure to compute the round trip time
thanks in advance
It's in the mailinglist archives.
i can't find it, could you send me it please,(RTT for tcp protocol)
are be grate ful.
I used rtt to search in the
juan manuel gomez garcia wrote:
Recently I install the debugger in my system following the Tae-hyung Kim
manual. All run ok.
But when I changed a file, for example, p802_15_4mac.cc and then do 'make
clean', 'make'; I dont see the changes. Why? The gdb say me: warning:
Source file is more
[EMAIL PROTECTED] wrote:
can some one tell me a procedure to compute the round trip time
thanks in advance
It's in the mailinglist archives.
--Timo
adithya b wrote:
My name is adithya, i am working on Routing protocols of Ad hoc wireless
networks.. Now i wanted to know, if i want to make any changes in the
inbuilt protocols how to do that, and how to reflect the effect of the
changes made.
The ns2 manual will most likely prove to be
manpreet grewal wrote:
I am new to gdb debugger please help me in this...
I am using ns-allinone-2.28 under cygwin on Windows XP...
I have added a small function in tora_dest.cc file.. I want to see
while running tora.tcl, is that function refered...
[snip]
i also executed
{gdb) r
Anuradha Sehgal wrote:
The three errors are:
error:expected primary-expression before int.
error:expected ; before int
error::non-lvalue in assignment
why these errors are occuring??
You've been reposting this identically at least twice. This is not going
to help you increase your chances
Daniel wrote:
I tried to install on my Intel based MacBook Pro the
ns2-allinone-2.29.3-Precompiled-UniversalBinary-Intel-Mac package that I
found here
http://nsnam.isi.edu/nsnam/index.php/Downloading_and_installing_ns-2.
I tried to run a simple tcl example script ( /ns-2.29/tcl/ex/simple.tcl
Celina Wang wrote:
2. I have Gcc/G++ 4.1.1 installed.
Try the CC and CXX switches I proposed below then.
On 4/13/07, Timo Reimann [EMAIL PROTECTED] wrote:
Celina Wang wrote:
I am installing ns-2.29 in Linux Ubuntu 6.06 version.
After modified settings of all of configure files, new
Sorry for that last mail, hit the wrong button...
manpreet grewal wrote:
I am using ns-allinone-2.31 under cygwin on Windows XP.
I have made changes in tora.cc file..
Then i executed make command successfully with no errors..
But the changes are not picked by tora.tcl, when i execute ns
smita vishwakarma wrote:
I have installed ns-2.31 on linux -fedora -5 with gcc-4.1 .it has been
installed in following steps as
[snip!]
same as for otcl,nsnam,ns-2.31,tclcl,xgraph .
I am building a new protocol which uses ns underneath for TCP /IP network
protocol I creatd very simple
smita vishwakarma wrote:
I am trying to compile my c++ program with tcl but when I am trying to
include some NS files it gives lots of error . I have tried with MAKE also
but I am unable to compile my file with the c++ and tcl.Kindly , give me
suggestion.
Since people constantly fail to
Murali P wrote:
Is there any documentation available for browsing the entire source code.
I
know NS Notes is a good place to start off with, but an additional
material
that gives a brief overview of the location of various stuff in a central
location is going to be extremely helpful for
Hi Marco,
Marco Fiore wrote:
my guess is that those infos can be useful for
statistics
collection. Is the RTP header considered
in the UDP header size? If
not, it is an invisible
header, put there just for informational
purposes
and not affecting the simulation outcome.
You seem to be
abu shahriar wrote:
I am getting segmentation fault when I call send(p,0) to broadcast a
packet
from my c++ code in ns. Can anyone please help me to find out why this
happe?
Install gdb or ddd, make sure you compiled ns with debugging symbols,
start your debugger and let the program crash.
Hello,
I'm currently in need of extending ns-2 with an application that requires
a lot of UDP connections netween nodes.
Instead of statically defining these, I thought about setting them up and
tearing down dynamically within the C++ code of the application I've
started to implement. The
Timo Reimann wrote:
I'm currently in need of extending ns-2 with an application that requires
a lot of UDP connections netween nodes.
Instead of statically defining these, I thought about setting them up and
tearing down dynamically within the C++ code of the application I've
started
Hi Matthias,
Matthias Kuhnert wrote:
You can call and evaluate tcl code within the c++ part via
tcl.evalf()...
This combined with some function for the node-id and you should have,
what you need.
There have been quite a few questions posted before around this topic so
you should be
lucky
smita vishwakarma wrote:
I have created ping.o but when I am trying to make it is showing this
problem
make: *** No rule to make target ` ', needed by `ns'. Stop.
how to make target needed by ns? need your help.
The base directory of ns-2 doesn't provide any Makefile. Istead, you need
to
Hiya,
I'm not sure if this issue rather belongs to the dev-mailinglist instead
of the users' one but since it's just a question and not some sort of
contribution I'll try here first:
I've looked at the UDP code (in apps/udp.cc) and came to realize that
everytime the sendmsg() function is called
Timo Reimann wrote:
Hi all,
in order to get to know better how things in ns-2 work and where to start
placing my own implementation, I'd like to use gdb and the tcl debugger
and step through the initialisation process of ns-2 one by one.
Despite many attempts of doing this, gdb keeps
Sorry for messing things up.
Timo Reimann wrote:
Despite many attempts of doing this, gdb keeps refusing to decent into
function calls using the step command but just rushes to the end of the
program. I've searched for answers to this problem in the mailing-list
archives which basically
Hi all,
in order to get to know better how things in ns-2 work and where to start
placing my own implementation, I'd like to use gdb and the tcl debugger
and step through the initialisation process of ns-2 one by one.
Despite many attempts of doing this, gdb keeps refusing to decent into
kerwin wrote:
Hi all ! I am beginner.
I want to add a simple agent on transport layer.
It only needs sending a packet periodically.
Thank for any suggestions.
There's a chapter in the ns-2 manual exclusively dedicated to your question.
--Timo
smthin wrote:
I face the problem when i install the ns-allinone-2.26 at red hat linux 9.
it said tk 8.3.2 make failed! Exiting..
If anyone know about this,pls let me know how to slove this problem.
Virtually nobody will be able to help you if all that you provide is that
single line.
super.ismiti wrote:
In the end of the installation of ns-2, two messages was showed to me:
1.
You must put /ns2install/ns-allinone-2.29/otcl-1.11, /ns2install/ns-
allinone-2.29/lib, into your LD_LIBRARY_PATH environment variable.
If it complains about X libraries, add path to your X
Hello Mouli,
G.Chandramowli wrote:
I am trying to invoke an event at specified time . The event does
something based on value of a variable. And the variable keeps on
changing
during the simulation .
When this event is invoked , it reads the initial value of the variable
only and not
paolalonetti wrote:
maybe it's not a problem of NS, but it's a problem of your version of
Linux.
Try it:
- modify your installation including the packets X.
If you mean by that I should install the missing X headers: Of course, I
did that.
I'm not blaming NS for not finding dependent
51 matches
Mail list logo