NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.5: NDN, CCN, CCNx, content centric networks
API Documentation
ns3::UdpServer Class Reference

#include <introspected-doxygen.hpp>

Detailed Description

Config Paths

ns3::UdpServer is accessible through the following paths with Config::Set and Config::Connect:

  • "/NodeList/[i]/ApplicationList/[i]/$ns3::UdpServer"

Attributes

  • Port: Port on which we listen for incoming packets.
    • Set with class: ns3::UintegerValue
    • Underlying type: uint16_t 0:65535
    • Initial value: 100
    • Flags: construct write read
  • PacketWindowSize: The size of the window used to compute the packet loss. This value should be a multiple of 8.
    • Set with class: ns3::UintegerValue
    • Underlying type: uint16_t 8:256
    • Initial value: 32
    • Flags: construct write read

Attributes defined in parent class ns3::Application

  • StartTime: Time at which the application will start
    • Set with class: ns3::TimeValue
    • Underlying type: Time -9.22337e+18ns:+9.22337e+18ns
    • Initial value: +0ns
    • Flags: construct write read
  • StopTime: Time at which the application will stop
    • Set with class: ns3::TimeValue
    • Underlying type: Time -9.22337e+18ns:+9.22337e+18ns
    • Initial value: +0ns
    • Flags: construct write read

TraceSources

  • Rx: A packet has been received
    Callback signature: ns3::Packet::TracedCallback
  • RxWithAddresses: A packet has been received
    Callback signature: ns3::Packet::TwoAddressTracedCallback

Size of this type is 208 bytes (on a 64-bit architecture).


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