make capabilities and sockets refcounted
This commit is contained in:
1 parent
5528c400d0
commit
e5d10e4bf7
12 files changed
+32
-17
No files matched your search
+3
-1
@@ -23,6 +23,7 @@
|
||||
|
||||
#include "ns3/callback.h"
|
||||
#include "ipv4-address.h"
|
||||
#include "ns3/object.h"
|
||||
#include <stdint.h>
|
||||
|
||||
namespace ns3 {
|
||||
@@ -38,7 +39,8 @@ class Node;
|
||||
* to the BSD API to make it easier those who know the BSD API to use
|
||||
* this API.
|
||||
*/
|
||||
class Socket {
|
||||
class Socket : public Object
|
||||
{
|
||||
public:
|
||||
virtual ~Socket();
|
||||
|
||||
|
||||
Reference in new issue
Block a user