Enum UDPCommandCode

File: src/transport/contract/UDPControlInfo.msg

UDP command codes, sent by the application to UDP. These constants should be set as message kind on a message sent to the UDP entity.

See also: UDPControlInfo, UDPStatusInd, UDP

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.

Source code:

//
// \UDP command codes, sent by the application to UDP. These constants
// should be set as message kind on a message sent to the UDP entity.
//
// @see UDPControlInfo, UDPStatusInd, UDP
//
enum UDPCommandCode
{

    UDP_C_DATA = 0;    // datagram to send (must carry UDPControlInfo)
    UDP_C_BIND = 1;    // fill srcPort and srcAddr in UDPControlInfo
    UDP_C_CONNECT = 2; // fill destAddr and destPort in UDPControlInfo
    UDP_C_UNBIND = 3;  // fill sockId in UDPControlInfo
}