System.Win.ScktComp.TCustomWinSocket.LookupState

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property LookupState: TLookupState read FLookupState;

C++

__property TLookupState LookupState = {read=FLookupState, nodefault};

Properties

Type Visibility Source Unit Parent
property public
System.Win.ScktComp.pas
System.Win.ScktComp.hpp
System.Win.ScktComp TCustomWinSocket

Description

Indicates any asynchronous activities occurring while opening a connection.

LookupState is used internally to coordinate asynchronous activities while opening a connection. The AsyncInitSocket method sets the value of LookupState to indicate when it is looking up various types of information. The following table lists the possible values:



Value Meaning

lsIdle

The socket is not currently looking up any information asynchronously.

lsLookupAddress

The socket is looking up an IP address asynchronously and has not yet received the result.

lsLookupService

The socket is looking up a Service asynchronously and has not yet received the result.



See Also