|
Bugzilla – Full Text Bug Listing |
| Summary: | PacketSink does not close socket upon StopApplication() | ||
|---|---|---|---|
| Product: | ns-3 | Reporter: | Tom Henderson <tomh> |
| Component: | applications | Assignee: | ns-bugs <ns-bugs> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | pre-release | ||
| Hardware: | All | ||
| OS: | All | ||
fixed by changeset 3379 a2ef1eb4c16d |
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.