UID | title | description | helpviewer_keywords | old-location | tech.root | ms.assetid | ms.date | ms.keywords | req.header | req.include-header | req.target-type | req.target-min-winverclnt | req.target-min-winversvr | req.kmdf-ver | req.umdf-ver | req.ddi-compliance | req.unicode-ansi | req.idl | req.max-support | req.namespace | req.assembly | req.type-library | req.lib | req.dll | req.irql | targetos | req.typenames | req.redist | ms.custom | f1_keywords | dev_langs | topic_type | api_type | api_location | api_name | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NF:winsock2.FD_SET |
FD_SET macro (winsock2.h) |
The FD_SET macro (winsock2.h) is used by Windows Sockets (Winsock) functions and service providers to place sockets into a set. |
|
winsock\fd_set_2.htm |
WinSock |
2af5d69d-190e-4814-8d8b-438431808625 |
08/03/2022 |
FD_SET, _win32_fd_set_2, fd_set, fd_set structure [Winsock], winsock.fd_set_2, winsock/fd_set |
winsock2.h |
Winsock2.h, Winsock.h |
Windows |
Windows 2000 Professional [desktop apps only] |
Windows 2000 Server [desktop apps only] |
Windows |
19H1 |
|
|
|
|
|
|
The FD_SET macro adds a file descriptor to an fd_set. If the file descriptor already exist within the set, a duplicate will not be added.
A descriptor identifying a socket which will be added to the set.
A pointer to a fd_set.
Be careful not to confuse the FD_SET macro with the typedef of the fd_set structure that's also named FD_SET. That said, the FD_SET macro and the fd_set structure are related, and often used in conjunction.