[Ns-developers] udp-socket.cc tests
Mathieu Lacage
mathieu.lacage at sophia.inria.fr
Thu Mar 20 15:32:00 PDT 2008
hi,
While porting the tests in udp-socket.cc to the SimpleNetDevice instead
of PointToPointNetDevice, I noticed that the tests seem to be bogus and
seem to not test what they think they are testing. i.e., the code does
not connect the rxDev2 device to the test channel (see line 445) so, the
test which checks that socket2 is not getting any packet on line 483
seems to be buggy.
Since I could not figure out where this problem came from (it seems to
have been there since the test was written), I thought that it would be
best to send this email here, in the hope that someone more
knowledgeable than me can deal with this.
thanks,
Mathieu
More information about the Ns-developers
mailing list