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;
Element | Usage |
---|---|
fd_count | 설정하는 소켓의 번호 |
fd_array | 설정된 소켓의 배열 |