UdpCommandCode¶
Namespace: inet
enum UdpCommandCode
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 also: UdpCommandBase, 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 ~UdpCommandBase, ~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
UDP_C_DESTROY = 5; // destroy(); see ~UdpDestroyCommand
}