[Ns-developers] ns3: add packet UID to DatagramSocket SendDummy and DummyRxCallback

mathieu lacage Mathieu.Lacage at sophia.inria.fr
Thu Mar 22 11:09:04 PDT 2007


On Thu, 2007-03-22 at 16:11 +0000, Gustavo Carneiro wrote:
>   I don't want to assign any new ID; I just want to use the UID that
> ns-3 is already assigning.  If I can match the UID on transmission
> with the UID on reception, I can measure the delay.  I _can_ implement
> my API; in fact, I did, even included the URL to the patch. 

I have seen this. I think that misunderstood what you intended.

>  
> 
>         Arguably,
>         what is missing here is a SendPacket (Packet &p) methods to
>         UdpSocket
>  
>   Yes, SendPacket (Packet &p) and a corresponding Rx callback that
> receives a Packet would allow me to do the same thing..

This seems like a better way to do what you want.

Mathieu




More information about the Ns-developers mailing list