A Discrete-Event Network Simulator
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
ns3::UdpClientHelper Class Reference

Create a client application which sends udp packets carrying a 32bit sequence number and a 64 bit time stamp. More...

#include <udp-client-server-helper.h>

Public Member Functions

 UdpClientHelper ()
 
 UdpClientHelper (Ipv4Address ip, uint16_t port)
 
 UdpClientHelper (Ipv6Address ip, uint16_t port)
 
 UdpClientHelper (Address ip, uint16_t port)
 
ApplicationContainer Install (NodeContainer c)
 
void SetAttribute (std::string name, const AttributeValue &value)
 

Private Attributes

ObjectFactory m_factory
 

Detailed Description

Create a client application which sends udp packets carrying a 32bit sequence number and a 64 bit time stamp.

Definition at line 83 of file udp-client-server-helper.h.

Constructor & Destructor Documentation

ns3::UdpClientHelper::UdpClientHelper ( )

Create UdpClientHelper which will make life easier for people trying to set up simulations with udp-client-server.

Definition at line 67 of file udp-client-server-helper.cc.

ns3::UdpClientHelper::UdpClientHelper ( Ipv4Address  ip,
uint16_t  port 
)

Create UdpClientHelper which will make life easier for people trying to set up simulations with udp-client-server.

Parameters
ipThe IP address of the remote udp server
portThe port number of the remote udp server

Definition at line 78 of file udp-client-server-helper.cc.

References SetAttribute(), and ns3::ObjectFactory::SetTypeId().

Member Function Documentation

void ns3::UdpClientHelper::SetAttribute ( std::string  name,
const AttributeValue value 
)

The documentation for this class was generated from the following files: