Share via


fd_set (Windows Embedded CE 6.0)

1/6/2010

This structure is used by various Windows Sockets functions and service providers, such as the select function, to place sockets into a set for various purposes. For example, the readfds parameter of the select function can be used for testing a socket for readability.

Syntax

typedef struct fd_set {
  u_int fd_count;
  SOCKET fd_array[FD_SETSIZE];
} fd_set;

Members

  • fd_count
    Number of sockets in the set.
  • fd_array
    Array of sockets that are in the set.

Requirements

Header winsock2.h
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

Winsock Structures
select
WSAEventSelect