Give ns3::PacketSocket powers to ns3::Node. More...
#include <packet-socket-helper.h>
Public Member Functions | |
void | Install (Ptr< Node > node) const |
void | Install (NodeContainer c) const |
Give ns3::PacketSocket powers to ns3::Node.
Definition at line 31 of file packet-socket-helper.h.
void ns3::PacketSocketHelper::Install | ( | NodeContainer | c | ) | const |
For each node in the provided container, aggregate an instance of a ns3::PacketSocketFactory.
c | NodeContainer of the set of nodes to aggregate the ns3::PacketSocketFactory on. |
Definition at line 25 of file packet-socket-helper.cc.
References ns3::NodeContainer::Begin(), ns3::NodeContainer::End(), and Install().
Aggregate an instance of a ns3::PacketSocketFactory onto the provided node.
node | Node on which to aggregate the ns3::PacketSocketFactory. |
Definition at line 34 of file packet-socket-helper.cc.
Referenced by Install().