ESP8266_RTOS_SDK v1.4.0

- Main Page
- Modules
- Data Structures
- Files

- Data Structures
- Data Structure Index
- Data Fields

Data Fields
espconn Struct Reference
Network Espconn APIs

`#include <espconn.h>`

## Data Fields
enum espconn_type | type
enum espconn_state | state
union {
esp_tcp * tcp
esp_udp * udp
} | proto
espconn_recv_callback | recv_callback
espconn_sent_callback | sent_callback
uint8 | link_cnt
void * | reserve

## Detailed Description

A espconn descriptor

## Field Documentation

uint8 link_cnt

link count

espconn_recv_callback recv_callback

data received callback

void* reserve

reserved for user data

espconn_sent_callback sent_callback

data sent callback

enum espconn_state state

current state of the espconn

enum espconn_type type

type of the espconn (TCP or UDP)

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

- include/espressif/espconn.h