UdpDestroyCommand

Namespace: inet

class UdpDestroyCommand

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

Extends

Name

Type

Description

UdpCommandBase

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 UdpCommandBase
{
}

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