[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ns] sending a new packet type



Is it a Tcl or C++ puts?

  -Yuri

Lori Flynn  <[email protected]> writes:

> Hi Tarik,
> 
> My new agent (exactly like the Ping Agent from the example) has a recv
> function.  For debugging purposes, I have a 'puts' statement to check to
> see if the recv function for the new agent is ever called, but it isn't
> ever called.  (Although a new packet with the new header type is
> definitely created and sent, with the 'hdrip->dst()' set as below.)
> 
> Do I need a different kind of a receiver?
> 
> Thanks, 
> Lori
> 
> On Thu, 9 Mar 2000, Tarik Alj wrote:
> 
> > I think you need to have a receiver agent. If the receiving node doen't know to 
> > wich agent it must give the packet; packets are typically going to accumulate 
> > until core dump.