Packet SimpleUDPPacket

File: src/underlay/simpleunderlay/SimpleUDPPacket.msg

Represents an UDP packet, to be used with the UDP module.

Usage diagram:

The following diagram shows usage relationships between types. Unresolved types are missing from the diagram.

Inheritance diagram:

The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.

Fields:

Name Type Description
sourcePort int

source port of the message

destinationPort int

destination port of the message

Source code:

//
// Represents an \UDP packet, to be used with the UDP module.
//
packet SimpleUDPPacket
{
    int sourcePort = -1;    // source port of the message
    int destinationPort = -1;    //destination port of the message
}