FD_SET macro

The fd_set 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, such as testing a given socket for readability using the readfds parameter of the select function.

Syntax

void FD_SET(
   fd,
   set
);

Parameters

fd

set

Return Value

None

Requirements

   
Windows version Windows 2000 Professional [desktop apps only] Windows 2000 Server [desktop apps only]
Target Platform Windows
Header winsock.h (include Winsock2.h, Winsock.h)

See Also

WSAAsyncSelect

WSAEventSelect

select