WSAFDIsSet

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

Syntax

Copy
int __WSAFDIsSet(
    SOCKET fd,
    fd_set *set
);

Parameters

fd

A descriptor identifying a socket.

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. If the socket is not a member of the group specified in the set parameter, it returns 0 (zero).

Requirements

Minimum supported version Header Library

eRTOS 1.0 SDK

Winsock2.h RtTcpipApi.lib