MQTT C Client Libraries Internals
Data Fields
Sockets Struct Reference

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

#include <Socket.h>

Collaboration diagram for Sockets:
Collaboration graph
[legend]

Data Fields

Listconnect_pending
 list of sockets for which a connect is pending
 
Listwrite_pending
 list of sockets for which a write is pending
 
unsigned int nfds
 no of file descriptors for poll More...
 
struct pollfd * fds
 poll read file descriptors
 
struct {
   int   cur_fd
 index into the fds_saved array
 
   unsigned int   nfds
 number of fds in the fds_saved array
 
   struct pollfd *   fds
 
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: