MQTT C Client Libraries Internals: Sockets Struct Reference

| MQTT C Client Libraries Internals

Loading...
Searching...
No Matches
Data Fields
Sockets Struct Reference

Structure to hold all socket data for the module. More...

`#include <Socket.h>`

Collaboration diagram for Sockets:
[legend]

## Data Fields
List * | connect_pending
| list of sockets for which a connect is pending
List * | write_pending
| list of sockets for which a write is pending
unsigned int | nfds
| no of file descriptors for poll
struct pollfd * | fds_read
| poll read file descriptors
struct pollfd * | fds_write
struct { |
int cur_fd |
| index into the fds_saved array
unsigned int nfds |
| number of fds in the fds_saved array
struct pollfd * fds_write |
struct pollfd * fds_read |
} | saved

## Detailed Description

Structure to hold all socket data for the module.

## Field Documentation

## ◆ nfds

unsigned int Sockets::nfds

no of file descriptors for poll

number of fds in the fds_saved array

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

- Socket.h