Platform SDK: Windows Sockets

WPUFDIsSet

The WPUFDIsSet function checks the membership of the specified socket handle.

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 Values

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.

See Also

WSPSelect