fd_set

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/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
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

select
WSAEventSelect