INF2004-Project v0.1
 
Loading...
Searching...
No Matches
wifi_tcp_server Struct Reference

Struct representing a TCP server connection. More...

#include <wifi.h>

Collaboration diagram for wifi_tcp_server:
[legend]

Data Fields

uint8_t buffer_recv [WIFI_BUFFER_SIZE]
 Buffer for received data.
 
uint8_t buffer_sent [WIFI_BUFFER_SIZE]
 Buffer for sent data.
 
bool is_complete
 Flag indicating whether the connection is complete.
 
struct tcp_pcb * p_client_pcb
 Pointer to the client PCB.
 
struct tcp_pcb * p_server_pcb
 Pointer to the server PCB.
 
int recv_len
 Length of received data.
 
int run_count
 Counter for tracking the state of the connection.
 
int sent_len
 Length of sent data.
 

Detailed Description

Struct representing a TCP server connection.

Note
The struct contains information about a TCP server connection, including the server and client PCBs, flags indicating whether the connection is complete, buffers for sent and received data, and various counters for tracking the state of the connection.

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