Packet Sink Rx Trace not fired

103 views
Skip to first unread message

Pradnya Kiri Taksande

unread,
Jan 2, 2018, 5:55:14 AM1/2/18
to ns-3-users
Hello,

I am simulating the attached program in Ns3.26. 
The packet sink Rx trace is not getting fired in the program, although the Flowmonitor shows that the packets are being received.
Also, if we enable logs of PacketSink at Info level, we see that packets are being received using PacketSink application.
But the PacketSink trace Rx is not being fired.

Any pointers will be helpful.

Thank you,
Pradnya
try_PacketsinkRx.cc

Tommaso Pecorella

unread,
Jan 3, 2018, 6:36:15 PM1/3/18
to ns-3-users
ConnectWithoutContext should be done **after** the PacketSink creation.

T.

Pradnya Kiri Taksande

unread,
Jan 4, 2018, 1:03:32 AM1/4/18
to ns-3-users
Thanks a ton. It works!

Thanks,
Pradnya
Reply all
Reply to author
Forward
0 new messages