Skip to content

Struct cais_pollfd_t

Data Structures > cais_pollfd_t

Polling descriptor structure for multi-socket event multiplexing.

  • #include <socket.h>

Struct Members

Type Name
int events
int revents
cais_socket_t * sock

Member Details

events

int events;

Bitmask of requested input events (CAIS_SOCK_POLL_READ, CAIS_SOCK_POLL_WRITE)


revents

int revents;

Bitmask of returned output events detected by cais_socket_poll()


sock

cais_socket_t* sock;

Pointer to active socket to poll



The documentation was generated from the following file: include/cais/socket.h