Namespace inet
UDPCommandCode
enumUDP command codes, sent by the application to UDP. These constants should be set as message kind on messages sent to the UDP entity.
See also: UDPControlInfo, UDPStatusInd, UDP
Source code
// // UDP command codes, sent by the application to ~UDP. These constants // should be set as message kind on messages sent to the ~UDP entity. // // @see ~UDPControlInfo, ~UDPStatusInd, ~UDP // enum UDPCommandCode { UDP_C_DATA = 0; // send()/sendTo(); see ~UDPSendCommand UDP_C_BIND = 1; // bind(); see ~UDPBindCommand UDP_C_CONNECT = 2; // connect(); see ~UDPConnectCommand UDP_C_SETOPTION = 3; // setsockopt(); see ~UDPSetTimeToLiveCommand,... UDP_C_CLOSE = 4; // close(); see ~UDPCloseCommand }File: src/inet/transportlayer/contract/udp/UDPControlInfo.msg