Bug 259 - OnOff app should call m_socket->Close() when it stops
OnOff app should call m_socket->Close() when it stops
Status: RESOLVED FIXED
Product: ns-3
Classification: Unclassified
Component: applications
ns-3.1
All All
: P3 normal
Assigned To: ns-bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-07-24 16:57 UTC by Rajib Bhattacharjea
Modified: 2008-08-15 13:02 UTC (History)
0 users

See Also:


Attachments
slight refactor of onoff app to achieve this (1.40 KB, patch)
2008-07-24 17:01 UTC, Rajib Bhattacharjea
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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