Struct SYN_UdpSocket¶
UDP socket slot control block.
#include <syn_udp.h>
Public Attributes¶
| Type | Name |
|---|---|
| SYN_Task * | blocked_task |
| bool | is_bound |
| uint16_t | local_port |
| uint32_t | remote_ip |
| uint16_t | remote_port |
| uint8_t | rx_buf |
| uint16_t | rx_len |
Public Attributes Documentation¶
variable blocked_task¶
Protothread task sleeping on this UDP socket.
variable is_bound¶
True if socket is bound to a local port.
variable local_port¶
Bound local port number.
variable remote_ip¶
Connected remote IPv4 address.
variable remote_port¶
Connected remote port number.
variable rx_buf¶
Receive payload buffer.
variable rx_len¶
Received payload length.
The documentation for this class was generated from the following file src/syntropic/net/syn_udp.h