fd_set (Windows CE 5.0)

Send Feedback

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.

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

OS Versions: Windows CE .NET 4.0 and later.
Header: Winsock2.h.

See Also

select | WSAEventSelect

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.