2012/10/24 Antonio Fortuny <[email protected]>:

> Connect to server
> send the request
> wait for answer         <<<---------- this is the point
> check answer OR timeout
> disconnect
>
> I can't firgure out where the check for a timeout as the component does not
> implement nor defines any property or method to deal with timeouts.
> The event (that I use) OnReceive does its job

Its all meant to be used completely asynchronously. The easiest way
would be to start a TTimer and when the timer event fires check
whether you have received an answer already or otherwise close the
connection.

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to