UdpStatusInd

Namespace inet

UdpStatusInd

enum

Udp indications, sent by Udp to the application. Udp will set these constants as message kind on messages it sends to the application.

See also: UdpControlInfo, UdpCommandCode, Udp

Source code

//
// Udp indications, sent by ~Udp to the application. ~Udp will set these
// constants as message kind on messages it sends to the application.
//
// @see ~UdpControlInfo, ~UdpCommandCode, ~Udp
//
enum UdpStatusInd
{
    UDP_I_DATA = 0;  // ~Udp attaches ~UDPIndication to received data packet
    UDP_I_ERROR = 1;
    UDP_I_SOCKET_CLOSED = 2;
}

File: src/inet/transportlayer/contract/udp/UdpControlInfo.msg