On 09/28/2010 10:18 PM, Bo Berglund wrote:
Where is the timeout? ..

The "Linux Way" to deal with blocking "sockets" is not using Threads and thread communication e.g. by Messages (as one would do in Windows and thus in Delphi and thus in Lazarus), but using the appropriate "multiplex" driver interface by functions like "select()" or (mor "modern" "epoll()" (misleading name: it does not do polling at all).

-Michael


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

Reply via email to