src/applications/model/udp-server.cc
changeset 11240 5b6a7efcf062
parent 10968 2d29fee2b7b8
equal deleted inserted replaced
11239:925b78e6fbfd 11240:5b6a7efcf062
    44 TypeId
    44 TypeId
    45 UdpServer::GetTypeId (void)
    45 UdpServer::GetTypeId (void)
    46 {
    46 {
    47   static TypeId tid = TypeId ("ns3::UdpServer")
    47   static TypeId tid = TypeId ("ns3::UdpServer")
    48     .SetParent<Application> ()
    48     .SetParent<Application> ()
       
    49     .SetGroupName("Applications")
    49     .AddConstructor<UdpServer> ()
    50     .AddConstructor<UdpServer> ()
    50     .AddAttribute ("Port",
    51     .AddAttribute ("Port",
    51                    "Port on which we listen for incoming packets.",
    52                    "Port on which we listen for incoming packets.",
    52                    UintegerValue (100),
    53                    UintegerValue (100),
    53                    MakeUintegerAccessor (&UdpServer::m_port),
    54                    MakeUintegerAccessor (&UdpServer::m_port),