Re: [ns] Pausing and Resuming a Method

2011-05-31 Thread Dhara Buch
- Forwarded Message - From: Dhara Buch dharab...@yahoo.com To: ns-users@isi.edu 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

[ns] Rs:TCL_CHANNEL struct

2011-01-14 Thread 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

Re: [ns] multichannel interface

2011-01-10 Thread Dhara Buch
, Dhara Buch

Re: [ns] giving label to plotted point in xgraph

2010-12-04 Thread Dhara Buch
to give it through the tcl file? Regards, Dhara Buch

Re: [ns] Counting hops

2010-11-30 Thread Dhara Buch
the code for increment operation? Thank you, Dhara Buch

Re: [ns] For Wormhole Link

2010-11-28 Thread Dhara Buch
the 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

Re: [ns] for transmission power

2010-11-23 Thread 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

Re: [ns] Altering Packet Data

2010-11-21 Thread 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

Re: [ns] Regarding routing algorithm for broadcasting

2010-11-19 Thread Dhara Buch
. Is there 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

Re: [ns] broadcasting a message

2010-11-13 Thread Dhara Buch
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

Re: [ns] For source id

2010-11-12 Thread 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

Re: [ns] displaying nodeid

2010-11-11 Thread 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

Re: [ns] About Packet Header

2010-11-10 Thread 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

Re: [ns] errors in nam and xgraph in fedora

2010-10-26 Thread Dhara Buch
can I do to solve these errors?   Thank you,   Dhara Buch

Re: [ns] error executing nam file

2010-10-19 Thread Dhara Buch
/ 120) * 4}] units } invoked from within if {[tk windowingsystem] eq classic || [tk windowingsystem] eq aqua} { bind Listbox MouseWheel { %W yview scroll [expr {- (%D)}] units } bind Li...       What may be the reason?   Regards, Dhara Buch

Re: [ns] To login as root

2010-10-16 Thread 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

Re: [ns] tk make problem

2010-10-15 Thread 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

Re: [ns] Ns-users Digest, Vol 80, Issue 28

2010-10-10 Thread Dhara Buch
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

[ns] Error in Tcl installation

2010-10-10 Thread Dhara Buch
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

[ns] Problem in designing packet format and monitoring its arrival event

2010-08-18 Thread Dhara Buch
sample code can be provided, then it would be too much helpful to me.     Thanks, Dhara Buch 

Re: [ns] Problem in designing packet format and monitoring its arrival event

2010-08-18 Thread 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

[ns] Problem in designing packet format and monitoring its arrival event

2010-08-17 Thread Dhara Buch
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