__WSAFDIsSet function (winsock.h)
The __WSAFDIsSet function returns a value indicating whether a socket is included in a set of socket descriptors.
Syntax
int __WSAFDIsSet(
SOCKET unnamedParam1,
fd_set *unnamedParam2
);
Parameters
unnamedParam1
A file descriptor identifying a socket.
unnamedParam2
A pointer to an fd_set structure containing the set of socket descriptors.
Return value
A non-zero value if the socket specified in unnamedParam1 is a member of the set specified in unnamedParam2; otherwise, 0.
Remarks
Windows Phone 8: This function is supported for Windows Phone Store apps on Windows Phone 8 and later.
Windows 8.1 and Windows Server 2012 R2: This function is supported for Windows Store apps on Windows 8.1, Windows Server 2012 R2, and later.
The FD_ISSET macro expands to a call of function __WSAFDIsSet.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 8.1, Windows Vista [desktop apps | UWP apps] |
Minimum supported server | Windows Server 2003 [desktop apps | UWP apps] |
Target Platform | Windows |
Header | winsock.h (include Winsock2.h) |
Library | Ws2_32.lib |
DLL | Ws2_32.dll |