Simple Module UDPEchoApp

File: Applications/UDPApp/UDPEchoApp.ned

C++ definition: click here

Similar to UDPBasicApp, but it sends back the packet after reception.

Usage diagram:

The following diagram shows usage relationships between modules, networks and channels. Unresolved module (and channel) types are missing from the diagram. Click here to see the full picture.

UDPEchoApp

Parameters:

Name Type Description
local_port numeric const
dest_port numeric const
message_length numeric const

(bits)

message_freq numeric

should usually be a random value, e.g. exponential(1)

dest_addresses string

list of IP addresses, separated by spaces

Gates:

Name Direction Description
from_udp input
to_udp output

Source code:

simple UDPEchoApp
    parameters:
        local_port : numeric const,
        dest_port : numeric const,
        message_length : numeric const, // (bits)
        message_freq : numeric, // should usually be a random value, e.g. exponential(1)
        dest_addresses: string; // list of \IP addresses, separated by spaces
    gates:
        in: from_udp;
        out: to_udp;
endsimple