UdpCloseCommand

UdpCloseCommand

class

Control info for closing an UDP socket. To close a socket, send a message to the Udp module with kind=UDP_C_CLOSE and an UdpCloseCommand attached. The Udp module will send an UdpSocketClosedIndication answer.

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 closing an UDP socket. To close a socket, send a message
// to the ~Udp module with kind=UDP_C_CLOSE and an ~UdpCloseCommand attached.
// The Udp module will send an ~UdpSocketClosedIndication answer.
//
// @see ~UdpCommandCode
//
class UdpCloseCommand extends UdpControlInfo
{
}

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