RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomWinSocket.LookupState Property

Indicates any asynchronous activities occurring while opening a connection.

Pascal
property LookupState: TLookupState;
C++
__property TLookupState LookupState;

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.  

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!