[Ns-bugs] [Bug 243] New: PacketSink does not close socket upon StopApplication()

bugzilla-daemon@nsnam-www.ece.gatech.edu bugzilla-daemon at nsnam-www.ece.gatech.edu
Sun Jun 29 09:35:46 PDT 2008


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

           Summary: PacketSink does not close socket upon StopApplication()
           Product: ns-3
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P3
         Component: applications
        AssignedTo: ns-bugs at isi.edu
        ReportedBy: tomh at tomh.org


PacketSink needs something like this in StopApplication():
 {
   if (m_socket) 
     {
+      m_socket->Close ();
       m_socket->SetRecvCallback (MakeNullCallback<void, Ptr<Socket> > ());
     }
 }


However, this will not change any output because, for TCP, Close() is not
supported properly right now, so I don't think this is a P1 bug for 3.1.


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


More information about the Ns-bugs mailing list