Skip to content

Struct SYN_UdpSocket

ClassList > 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

SYN_Task* SYN_UdpSocket::blocked_task;

Protothread task sleeping on this UDP socket.


variable is_bound

bool SYN_UdpSocket::is_bound;

True if socket is bound to a local port.


variable local_port

uint16_t SYN_UdpSocket::local_port;

Bound local port number.


variable remote_ip

uint32_t SYN_UdpSocket::remote_ip;

Connected remote IPv4 address.


variable remote_port

uint16_t SYN_UdpSocket::remote_port;

Connected remote port number.


variable rx_buf

uint8_t SYN_UdpSocket::rx_buf[SYN_UDP_BUF_SIZE];

Receive payload buffer.


variable rx_len

uint16_t SYN_UdpSocket::rx_len;

Received payload length.



The documentation for this class was generated from the following file src/syntropic/net/syn_udp.h