UdpControlInfo
classBase class for UDP control info classes. The most convenient way to handle Udp is the UdpSocket class, which hides control info from you.
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 |
|---|---|---|
| cObject | (unknown -- not in documented files) |
Known subclasses
| Name | Type | Description |
|---|---|---|
| UdpBindCommand | class |
Control info for binding an UDP socket. To create and bind a socket, send a message to the Udp module with kind=UDP_C_BIND and an UdpBindCommand attached. |
| 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. |
| UdpConnectCommand | class |
Control info for connecting an UDP socket. To connect a socket, send a message to the Udp module with kind=UDP_C_CONNECT and an UdpConnectCommand attached. If the socket does not exist, it will be created. |
| 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. |
| UdpErrorIndication | class |
Control info that is sent up from the Udp module to the application with UDP_I_ERROR as message kind when Udp receives an Icmp error for a packet previously sent from the socket. |
| UdpSetOptionCommand | class |
Base class for UDP socket option control info classes. |
| UdpSocketClosedIndication | class |
Control info for inform app about an UDP socket closed. This is answer to an UdpCloseCommand. |
Source code
// // Base class for UDP control info classes. The most convenient way to handle // ~Udp is the UdpSocket class, which hides control info from you. // // @see ~UdpCommandCode // class UdpControlInfo extends cObject { }File: src/inet/transportlayer/contract/udp/UdpControlInfo.msg