__WSAFDIsSet function

The __WSAFDIsSet function specifies whether a socket is included in a set of socket descriptors.

Syntax


int __WSAFDIsSet(
   SOCKET fd,
   fd_set *set
);

Parameters

fd

Descriptor identifying a socket.

set

Pointer to an fd_set structure containing the set of socket descriptors. The __WSAFDIsSet function determines whether the socket specified in the fd parameter is a member of that set.

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.

Requirements

Minimum supported client

Windows 8.1, Windows Vista [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2003 [desktop apps | Windows Store apps]

Minimum supported phone

Windows Phone 8

Header

Winsock2.h

Library

Ws2_32.lib

DLL

Ws2_32.dll

See also

fd_set
select
WSAAsyncSelect
WSAEventSelect

 

 

Show: