Specifies whether a socket is included in a set of socket descriptors.
int __WSAFDIsSet(
SOCKET fd,
fd_set *set
)
fd
Type: SOCKET
Descriptor identifying a socket.
set
Type: fd_set *
Pointer to an fd_set structure defining the group of SOCKET objects to be checked.
Type: int
Returns a nonzero integer if the socket is a member of the group specified in the set parameter. Returns zero if the socket is not a member of the group specified in the set parameter.
Header: Declared in winsock2.h.
Library: Use ws2_32.lib.