UdpDestroyCommand

UdpDestroyCommand

class

Control info for destroying an UDP socket. To destroy a socket, send a message to the Udp module with kind=UDP_C_DESTROY and an UdpDestroyCommand attached.

See also: UdpCommandCode

Inheritance diagram

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

Extends

Name Type Description
UdpControlInfo class

Base class for UDP control info classes. The most convenient way to handle Udp is the UdpSocket class, which hides control info from you.

Source code

//
// Control info for destroying an UDP socket. To destroy a socket, send a message
// to the ~Udp module with kind=UDP_C_DESTROY and an ~UdpDestroyCommand attached.
//
// @see ~UdpCommandCode
//
class UdpDestroyCommand extends UdpControlInfo
{
}

//
// Control info that is attached to received data packets, sent up from the
// ~Udp module to the application with UDP_I_DATA as message kind.
//
// @see ~UdpCommandCode, ~L3AddressInd, ~PortsInd
//

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