[fpc-pascal] lnet for TCP daemon

Michael Schnell mschnell at lumino.de
Thu Sep 12 13:14:41 CEST 2013


On 09/12/2013 12:47 PM, Mark Morgan Lloyd wrote:
>
>
> I've concluded that using a thread is, in fact, preferable
True.

It's a pity that Synapse and friend (especially SynaSer) does does not 
implement internal threads that throw appropriate events in the Main 
Thread when something comes in (or an error appears). This is a very 
common request, and since the fpc-Team some time ago enabled 
TThread.Queue in the RTL, this is doable in a straight forward, 
"fpc-ish" way (portable but Delphi compatible).

-Michael



More information about the fpc-pascal mailing list