Class UDPCloseCommand

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

C++ definition

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.

See also: UDPCommandCode

Usage diagram:

The following diagram shows usage relationships between types. Unresolved types are missing from the diagram.

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.

Fields:

Name Type Description
sockId int

must uniquely identify the socket in the UDP module

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.
//
// @see ~UDPCommandCode
//
class UDPCloseCommand extends UDPControlInfo
{
}