Hello,
I want to write code for designing the packet format and to monitor the
packet arrival event.
In which way the provided class and its events of Otcl can be used in NS2?
If some sample code can be provided, then it would be too much helpful to
me.
Thanks,
Dhara Buch
sample code can be provided, then it would be too much helpful to
me.
Thanks,
Dhara Buch
Hello,
Thanks a lot for the reply.
The code seems to be useful to me.
Actually, I am just the beginner for ns2. The problem I find is, I dont get how
the classes and header files provided by tcl, can be used in the ns2 script
commands. More specifically, in the code provided to me, header file
so, then may I kindly request you to give me guidance
if possible with an example.
With regards,
Dhara Buch
M.Tech Research Scholar
SVNIT, Surat
From: Dhara Buch
To: ns-users@isi.edu
Cc: Mubashir Rehmani
Sent: Wed, August 18, 2010 9:00:32 PM
Subject: Re:[ns
sir,
1. while executing ./configure command under NS-2.33 directory, I get
an error
message specifying that OTCL is not installed. I have installed NS-all in
one-2.33. Which step should I follow to install OTCL & solve this error.
2. I have referred Mark Greis's Tutorial. I
Hello,
While executig make command for tcl8.4.18, I get error message that :
'tz' is unknown in TclpGetClicks() and Tcl_GetTime().
How to solve it?
Thank you,
Dhara Buch
Helllo,
I am using Ubuntu 8.10 version. While executing ./install, I find error : tk
make failed.
What may be the reason? Any package missing? How to get it installed?
Regards,
Dhara Buch
Hello,
I have installed Ubuntu 10. At booting time, only one user specified at the
installation time is visible.
It does not show root user. In Users and Groups under Administration also,
the
root is invisible.
What to do if I want to login as root?
Dhara
) * 4}] units
}"
invoked from within
"if {[tk windowingsystem] eq "classic" || [tk windowingsystem] eq "aqua"} {
bind Listbox {
%W yview scroll [expr {- (%D)}] units
}
bind Li..."
What may be the reason?
Regards,
Dhara Buch
new one...
nam: Unable to open the file "wireless-mitf.nam.nam"
What can I do to solve these errors?
Thank you,
Dhara Buch
when
script finished, type nam .nam, try the wireless-flooding.tcl, good
example.
Thanks and Regards,
Ashwini | www.wirelesscafe.wordpress.com
> Message: 2
> Date: Tue, 26 Oct 2010 20:40:09 -0700 (PDT)
> From: Dhara Buch
> Subject: Re: [ns] errors in nam and xgraph in fedora
> T
Hello,
In Agent class, I have added one function disp()with return type void.
I am creating object of Agent as follows :
set agnt [new Agent]
Now, for Agent object agnt, I want to call dispfunction. How should I from
tcl
script?
Thanks,
Dhara Buch
Hello,
I want to access various fields of a packet header. I have referred packet.h
file. It contains the structure of only hdr_cmn. Which file contains the
definition of hdr_rtp and other such headers?
Thanks,
Dhara Buch
Hello,
I want to display node id and address in my tcl script. Method nodeid
returns id, but how can I call it from tcl script?
Lets,
set ns [new Simulator]
set n0 [$ns node]
for, n0, how to display node id?
Thanks,
Dhara Buch
Hello,
I want to get thesource address of the packet. Does thesrc_addr_field of
hdr_rtpgive the same?It display 0 for each different source nodes. How can I
assign the node id to this field?
Thanks,
Dhara Buch
ted by 1 is received by 2, 3 and 4. 5 does not receive
it.
What may be the reason? What change do I require to do?
Thank you,
Dhara Buch
any way by which the packet can be made to travel like from 1 to
2,
2 to 4, 4 to 5 likewise?
2. I get error like
Segmentation fault (core dumped)
Dhara Buch
Hello,
I want to change the data field of Packet p. I get it through userdata(),
as
follows. But after updating, how to set it back?
PacketData* data = (PacketData*)p->userdata();
Thank you,
Dhara Buch
Hello,
I want to create a wormhole link. For that, two nodes N1 and N2 have been
positioned far away from each other. What transmission and receiver power or
some other properties do I need to set for making the packet sent by N1 to
reach
at N2?
Thank You,
Dhara Buch
Nodes withe Agent/TCP? In that
case, which node is required to be the agent of ACP and which should be of
TCPSink for the same case?
Thank you,
Dhara Buch
code for increment
operation?
Thank you,
Dhara Buch
to give it
through
the tcl file?
Regards,
Dhara Buch
Hello,
I want to connect a node to multiple wireless channels. How can I do it for
AODV
protocol?
Thank you,
Dhara Buch
,
Dhara Buch
Hello,
Agent class has one field name channel_ of type struct TCL_CHANNEL. I want to
change the index number of the channel_.
In which file the struct TCL_CHANNEL is defined?
Thank you,
Dhara Buch
Hello,
In
multiple channel interface, for two channel interfaces, is it possible to set
different transmission power (Pt_) ? How?
Thank you,
Dhara Buch
- Forwarded Message -
From: Dhara Buch
To: "ns-users@isi.edu"
Sent: Monday, May 30, 2011 1:42 PM
Subject: Re:[ns]Pausing and Resuming a Method
Hello,
I want to pause a method, say sendRequest, until a specific event occurs. After
the occurrence of the event , the method
27 matches
Mail list logo