It seems I pasted incompletely, sorry about that:

On Tue, Oct 28, 2008 at 12:38 PM, Prajjwal Devkota <[EMAIL PROTECTED]>wrote:

> Hi everyone,
>
> I am thinking of generating packets on certain queue events.  The packets
> would be:
>
>    1. generated by the link layer (in real life, but not necessarily in
>    ns-2, an approximation would do)
>    2. processed by the link layer on the receiving end, and acted upon
>
> I am thinking of this as one possible implementation of a project I am
> trying to do, though I am looking at other approaches too. (Such as using
> global variables in conjunction for timers: where I have a problem of waking
> up intervals right now).


Could anyone suggest any good pointers to getting started with packet
generation and handling (without creating an agent would be nice).  As to
the approach I have tried using global variables, my only problem seems to
be of resuming the queue on time: I am thinking of using a wakeup timer
every given interval, but is there a better way than that?

Thank you for your help,
Prajjwal

Reply via email to