Bug 259

Summary: OnOff app should call m_socket->Close() when it stops
Product: ns-3 Reporter: Rajib Bhattacharjea <raj.b>
Component: applicationsAssignee: ns-bugs <ns-bugs>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: ns-3.1   
Hardware: All   
OS: All   
Attachments: slight refactor of onoff app to achieve this

Description Rajib Bhattacharjea 2008-07-24 16:57:45 UTC
If packet sink now does, so should OnOff app.
Comment 1 Rajib Bhattacharjea 2008-07-24 17:01:51 UTC
Created attachment 209 [details]
slight refactor of onoff app to achieve this

I had to shuffle around some private API because StartApplication formerly called StopApplication, so connect was followed by an immediate close.
Comment 2 Rajib Bhattacharjea 2008-08-15 13:02:57 UTC
Fixed
3535:016c70fa60d8