WSAFDIsSet

WSAFDISSet checks whether a socket is included in a set of socket descriptors.

Syntax

Copy
int __WSAFDIsSet(
    [in]    SOCKET fd,
    [out]   fd_set *set
);

Parameters

[in] fd

A descriptor identifying a socket.

[out] set

A pointer to an fd_set structure containing the set of socket descriptors.

Return Value

If the socket is a member of the group specified in the set parameter, it returns an integer value. Otherwise, it returns 0 (zero).

Requirements

Minimum supported version Header Library

wRTOS 1.0 SDK

winsock2.h

RttcpipApi.lib