Simple Module UDPSink

Package: inet.applications.udpapp
File: src/applications/udpapp/UDPSink.ned

C++ definition: click here

Consumes and prints packets received from the UDP module.

UDPSink

Usage diagram:

The following diagram shows usage relationships between types. Unresolved types are missing from the diagram. Click here to see the full picture.

Inheritance diagram:

The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram. Click here to see the full picture.

Parameters:

Name Type Default value Description
localPort int

if -1, app doesn't bind in UDP

Gates:

Name Direction Size Description
udpIn input
udpOut output

Source code:

//
// Consumes and prints packets received from the UDP module.
//
simple UDPSink like UDPApp
{
    parameters:
        int localPort; // if -1, app doesn't bind in UDP
    gates:
        input udpIn;
        output udpOut;
}