DeterministicESPAsyncWebServer 1.2.0
Zero-allocation, bounded-execution async HTTP server for ESP32
Loading...
Searching...
No Matches
TcpEvt Struct Reference

Event record posted from lwIP callbacks to the main-loop task. More...

#include <transport.h>

Public Attributes

EvtType type
 What happened.
 
uint8_t slot_id
 Which connection slot is affected.
 
size_t data_len
 Bytes copied (EVT_DATA only); 0 for other types.
 

Detailed Description

Event record posted from lwIP callbacks to the main-loop task.

Small enough (8 bytes on 32-bit) that the FreeRTOS queue copies it by value — no pointer lifetime issues.

Definition at line 104 of file transport.h.

Member Data Documentation

◆ type

EvtType TcpEvt::type

What happened.

Definition at line 106 of file transport.h.

Referenced by server_tick().

◆ slot_id

uint8_t TcpEvt::slot_id

Which connection slot is affected.

Definition at line 107 of file transport.h.

Referenced by server_tick().

◆ data_len

size_t TcpEvt::data_len

Bytes copied (EVT_DATA only); 0 for other types.

Definition at line 108 of file transport.h.


The documentation for this struct was generated from the following file: