[fpc-pascal] TCP Server

Lukas Gebauer gebylist at mlp.cz
Fri Aug 18 08:24:26 CEST 2006


> I need to developer an application to act as a tcp server that be
> compatible with windows/linux (debian).
> 
> I want to make a command line application (without graphical
> interface) because my linux server don't have the X installed.

Why not Synapse? You must not install Synapse into your Lazarus, 
because it is just set of units with set of classes and functions. 
Just include unit in 'uses'...

Sample for simple TCP server is included in demo. (it implementing 
simple echo)

Latest snapshot of Synapse needs FPC 2.0.4 and it using native 
Freepascals units for socket communication - you can use it on any 
linux/unix platform. (and, of course, on Windows platform too)



-- 
Lukas Gebauer.

E-mail: gebauerl at mlp.cz
http://synapse.ararat.cz/ - Ararat Synapse - TCP/IP Lib.




More information about the fpc-pascal mailing list