WPUFDIsSet (Compact 2013)

3/26/2014

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 s is a member of the set. Otherwise, the return value is zero.

Requirements

Header

ws2spi.h

Library

Ws2.lib

See Also

Reference

Winsock SPI Functions
WSPSelect