Bugzilla – Bug 832
PacketSocket has unlimited receive queue
Last modified: 2010-03-08 12:03:32 EST
It appears there's a receive queue in PacketSocket. This queue is unlimited by default. 1. Unlimited by default is highly unrealistic; 2. Why is there a receive queue at all? UDP sockets do not have RX queue... This cost me days of debugging *sigh* I had already filed a bug for TCP tx buffer being unlimited, but did not realize at the time that the packet socket had an equally evil infinite queue :-|
And because of missing NS_OBJECT_ENSURE_REGISTERED and packet-socket.h not being a public header, I can't even change the default value of ns3::PacketSocket::RcvBufSize from Python. Great.
I was wrong about UDP, it also has a receive buffer, also unlimited by default.
*** This bug has been marked as a duplicate of bug 835 ***