CheckLag

Check Connection - send request and wait for answer timeoutMS milliseconds.

If timeout - return false, else - True.

Pascal

function CheckLag(timeoutMS : Integer) : Boolean;

Example:

begin
...
CheckLag(1000);
UseObject(runebook);
end.

Python

CheckLag(timeoutMS=10000)