UdpCloseCommand¶
Namespace: inet
class UdpCloseCommand
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¶
Extends¶
Name |
Type |
Description |
|---|---|---|
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 UdpCommandBase
{
}