[fpc-pascal] lnet for TCP daemon

Mark Morgan Lloyd markMLl.fpc-pascal at telemetry.co.uk
Wed Sep 11 19:22:58 CEST 2013


Is it feasible to use lnet for a simple TCP daemon on Linux, i.e. wait 
for a connection on a predefined port, read as much data as is 
available, repeat? And if so, what does the SerSock parameter to 
Accept() represent?

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.

-- 
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