TAstaClientSocket.WaitingForServer
Applies to
TAstaClientSocket
Declaration
function WaitingForServer: Boolean;
Description
By nature, sockets are asyncronous. This means that a request is made and then
a response gets fired to an event. Normal database development depends on a more procedural mode where
you can write sequential lines of code. In order to "simulate" this procedural model, ASTA clients
go into a "wait" state when requests are made from TAstaClientDataSets. You may check to see
if the TAstaClientSocket is in this wait state by calling the WaitingForServer function.