[Ns-bugs] [Bug 833] OnOffApplication with PacketSocket: sniffs all traffic

code@nsnam.ece.gatech.edu code at nsnam.ece.gatech.edu
Wed Apr 7 14:42:14 PDT 2010


http://www.nsnam.org/bugzilla/show_bug.cgi?id=833





--- Comment #5 from Gustavo J. A. M. Carneiro <gjcarneiro at gmail.com>  2010-04-07 17:42:14 EDT ---
(In reply to comment #4)
> (In reply to comment #2)
> > Created an attachment (id=782)
 --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=782) [details] [details]
> > patch
> > 
> > I think this is the most elegant patch.  Calls ShutDownSend and ShutDownRecv
> > where appropriate.  No trace files change with the patch.
> 
> What happens if OnOffApplication uses TCP sockets?  It seems like this might
> not work.  For example, after applying this patch and running
> examples/csma/csma-star.cc, the tcpdumps show a bunch of SYN ACKS coming in to
> node 0, over and over again.

Maybe it's a bug in TCP's implementation of ShutdownSend|Recv?

-- 
Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Ns-bugs mailing list