Hi All,
A bit of an OO C++ newbie here. I'm trying to accomplish some basic tasks
that seem to be giving me trouble. Any help would be greatly appreciated!
1. Working on a yet-to-be instantiated variable in C:
Problem: I have defined a new sort of class. One of the public elements is a
packet c
Hi Siraj,
When I installed this on gutsy about a month ago, I found I had A LOT of
libraries missing that I had to add from the package-manager (X11 - xlibs
etc). As I'm not much of a programmer or linux user in general, I basically
went around checking off tons of libs to install. If you want my
Hey all!
>
> I have a problem that I think would be pretty simple for someone to help me
> troubleshoot if they have the proper knowledge! My coding background isn't
> the best, so apologies :)
>
> I created a simple library that defines a global variable, and provides a
> simple access / increme
Hi all -
I was wondering if someone could help show me how to make a simple timer
that maybe just periodically prints to the console at some interval... I'm
not much of a coder and the manual (11.1.1) was a bit tough for me to follow
with regards of how one can provide an expiration time and star
t agent, but do you know why this is?
- Second, what is the variable "check" used for, and where is it be defined?
Once again, thanks so much for your help!
Best,
Scott
On Mon, Sep 8, 2008 at 2:03 AM, Mubashir Rehmani <[EMAIL PROTECTED]>wrote:
> Hi Scott Novich
>
Hi Faraz,
You can modify the recv function in your TCP layers to collect
ACK/Data packets, by using the header-access functions for the
supplied packet.
I would then create a counter that increments whenever the desired
packet is received.
Then create a timer that expires / resets at the desire
Hey all,
I've recently been doing some rudimentary packet collection / statistics
gathering @ the 802.11 layer. In running a simple wireless uni directional
link w/ TCP Newreno and a Sink, it seems ACK frames are being received at
both sides. I know this shouldn't happen at the Traffic/TCP layer
>
> Yes - go into your NS src then open Tools/CBR_Traffic.cc
> Create a timer (see NS2 Manual / follow the tcp.cc/tcp.h code as an
> example) that triggers every x seconds, and use a random variable function
> to set the rate variable. You may need to create a header file for
> CBR_Traffic.cc -> .