Hi
I am trying to build a custom application. Consider the scenario when an
application has to pick one TCP agent from a number of TCp agents to send the
packet out. How will this be done using C++ in NS2. I mean how can I get the
pointer to different agents.
Please help me out.
Hi
I am trying to build a custom application. Consider the scenario when an
application has to pick one TCP agent from a number of TCp agents (that are
attached to it, each agent sends out packet to a different link) to send the
packet out. How will this be done using C++ in NS2. I mean
Hi
I am working to develop this application that needs to talk to other
applications. They all use tcp as their transport agent.
When one node can talk to two other nodes, then it has two agents attached to
it. Before settingup the ip addresses it has to select the agent (ie. agent_
-
Hi
I am trying to find an agent among many in the agent_ list from an
application. So there is no packet arrival that the address and port
classifiers process to find the agent but instead how can an application find
the reference to an agent by just knowing the port number. Then call the
pa
Dear all,
I have declared the following variable:
set cbr(7) [new Application/Traffic/CBR]
$cbr(7) attach-agent $udp(7)
...more code...
Now, when I want to start the traffic the following works fine:
$ns at $time_udp_start "$cbr(7) start"
But the same command within a procedure i.e.:
proc even
Dear all,
Suppose I have the topology A - B - C in which A sends to C. One way to find
the amount of traffic C receives is to set a B-C link monitor and measure the
throughput.
Is there another way to find out the amount of traffic C receives; I'm looking
for a method invoked *from node C* e.g
Dear all,
Argument passing can be achieved using the following command:
ns
But how do I use the argument within my .tcl file? For example something like:
set myVariable
Many Thanks.
Hi all,
I defined the following agent
Main_Agent::Main_Agent() : Agent(PT_UDP) {
...
bind("var_mainAgent", &var_mainAgent);
...
}
I also defined the following agent which inherits from the previous
My_Agent::My_Agent() : Main_Agent() {
...
bind("var_my
Dear all,
I have defined MyAgent (inherits from Agent) and MyClassifier (inherits from
DestHashClassifier). MyClassifier has a bound integer variable "var".
I'm trying to change the value of "var" within MyAgent's C++ code. Here is part
of my code (myagent.cc):
...
1. Tcl& tcl = Tcl::instance
Hello,
I would appreciate if you can take a look at the following. I have the
following simple topology:
N0 - N1 -- N2
N0 sends FTP and CBR packtets to N2 throughout the simulation. I defined a new
agent My_Agent and attached it on N1 (intermediate node). Its task is to drop
both FTP
Dear all,
I'm trying to add a new My_Classifier which inherits from AddressClassifier (in
turn inherits from Classifier). However, I'm not allowed to override the recv()
and find() functions of the Classifier object (AddressClassifier inherits these
two functions from Classifier). Is there a
Hello all,
How do I bind float variables? The following does not work: bind("float_var",
&float_var).
Regards
Hi,
Is there a DHCP client/server/relay implementation in NS2.
Thank You,
-
Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news,
photos & more.
13 matches
Mail list logo