FD_SET

typedef struct fd_set { 

    u_int fd_count;                 /* how many are SET? */

    SOCKET fd_array[FD_SETSIZE];   /* an array of SOCKETs */

} fd_set;

 

typedef struct fd_set FD_SET;

 

Element

Usage

fd_count

The number of sockets that are set.

fd_array

An array of the sockets in the set.