System.Net.Socket.TFDSet.IsSet

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function IsSet(const ASocket: TSocket): Boolean; overload;

C++

bool __fastcall IsSet(TSocket* const ASocket)/* overload */;

Properties

Type Visibility Source Unit Parent
function public
System.Net.Socket.pas
System.Net.Socket.hpp
System.Net.Socket TFDSet

Description

Returns True if the specified socket is already part of the fd_set structure; it returns False otherwise.

Exceptions

A call to IsSet can raise any of the following exceptions:

Exception Exception.Message Scenarios

ESocketError

Invalid socket handle

  • The socket handle of the specified socket is invalid. The socket handle of a socket may be invalid in any of the following scenarios:

See Also