[fpc-pascal] lnet for TCP daemon
Mark Morgan Lloyd
markMLl.fpc-pascal at telemetry.co.uk
Thu Sep 12 09:35:32 CEST 2013
Michael Schnell wrote:
> On 09/11/2013 07:22 PM, Mark Morgan Lloyd wrote:
>> I'd normally use a thread for this, but I've already got lnet's telnet
>> client running in the program so would rather stick to the same
>> library if possible.
>>
>
> AFAIK, Lnet does not do threading internally (as does AsyncPro or -
> partly - Indy), so if you need to wait for TCP input while doing other
> things in your program, you need to do your own thread, anyway.
[Nod] Works adequately for a telnet-based terminal though.
> I switched from Lnet to Synapse lately, as same seems to a lot of
> provide usable protocols. Synapse does not provide internal threads,
> either.
True. Synapse's protocol support is second to none, but in the current
case there's really no protocol involved- grab/store data and that's it.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
More information about the fpc-pascal
mailing list