#include <fstream>
#include "ns3/core-module.h"
#include "ns3/csma-module.h"
#include "ns3/applications-module.h"
#include "ns3/internet-module.h"
Go to the source code of this file.
Functions | |
int | main (int argc, char *argv[]) |
NS_LOG_COMPONENT_DEFINE ("UdpTraceClientServerExample") | |
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 37 of file udp-trace-client-server.cc.
References ns3::CommandLine::AddValue(), ns3::Ipv6AddressHelper::Assign(), ns3::Ipv4AddressHelper::Assign(), ns3::NodeContainer::Create(), ns3::Simulator::Destroy(), ns3::NodeContainer::Get(), ns3::Ipv6InterfaceContainer::GetAddress(), ns3::Ipv4InterfaceContainer::GetAddress(), ns3::UdpServerHelper::Install(), ns3::CsmaHelper::Install(), ns3::InternetStackHelper::Install(), ns3::UdpTraceClientHelper::Install(), ns3::LOG_LEVEL_INFO, ns3::LogComponentEnable(), NS_LOG_INFO, ns3::CommandLine::Parse(), port, ns3::Simulator::Run(), ns3::UdpTraceClientHelper::SetAttribute(), ns3::Ipv4AddressHelper::SetBase(), ns3::Ipv6AddressHelper::SetBase(), ns3::CsmaHelper::SetChannelAttribute(), ns3::CsmaHelper::SetDeviceAttribute(), ns3::ApplicationContainer::Start(), and ns3::ApplicationContainer::Stop().
NS_LOG_COMPONENT_DEFINE | ( | "UdpTraceClientServerExample" | ) |