Re: [ns] Strange behaviour of TCPSink instvar bytes_

2007-06-14 Thread Filippos Kolovos
PROTECTED] [EMAIL PROTECTED] wrote: -- Forwarded message -- From: Georg Piewald [EMAIL PROTECTED] To: ns-users@ISI.EDU Date: Wed, 13 Jun 2007 11:35:30 +0200 Subject: [ns] Strange behaviour of TCPSink instvar bytes_ Hi everybody, I experienced a very odd problem. I want to output

Re: [ns] Strange behaviour of TCPSink instvar bytes_

2007-06-14 Thread Georg Piewald
Ok, this explains it - thanks a lot for your answer! -Georg- Filippos Kolovos wrote: - Hi, I do not think that there is a problem with the variables per se, but with the way that the TCL interpreter handles the command substitutions. For example, when you invoke the command directly,

[ns] Strange behaviour of TCPSink instvar bytes_

2007-06-13 Thread Georg Piewald
Hi everybody, I experienced a very odd problem. I want to output the number of bytes received by a TCPSink agent at a specified time. This can be read by the instance variable $bytes_. Now if I call a procedure at the required point of time, which outputs the nr of bytes, everything works fine.

Re: [ns] Strange behaviour of TCPSink instvar bytes_

2007-06-13 Thread Georg Piewald
Georg Piewald wrote: [...] Ok, maybe the subject is a bit wrong - I just noticed that this problem is true for any instance variable. It can also be shown for example on cwnd_ which is a variable of Agent/TCP. Regards, Georg