Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

This function checks the membership of the specified socket handle.

Syntax

int WPUFDIsSet(
  SOCKET
 s,
  fd_set FAR* 
set 
);

Parameters

s

[in] Descriptor identifying the socket.

set

[in] Set to check for the membership of socket s.

Return Value

If no error occurs, a value of nonzero is returned denoting that socket sis a member of the set. Otherwise, the return value is zero.

Requirements

Header ws2spi.h
Library Ws2.lib
Windows Embedded CE Windows CE .NET 4.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

WSPSelect