[fpc-pascal] Example of using TInetSocket, please

Paul Breneman Paul2006 at BrenemanLabs.com
Tue Sep 22 13:47:44 CEST 2015


On 09/22/2015 12:40 AM, Bo Berglund wrote:
> I am porting an application from Windows Delphi 2007 to FPC on Linux
> (Raspberry Pi2). In the process I need to switch from using RS232 to
> TCP/IP to communicate with a data source.
>
> I have found that FPC contains the unit ssockets.pp, which implements
> a client socket class TInetSocket.
>
> But I need a working example of how this is used so I can start
> testing if I can use it in my application.
>
> Are there some examples of sending binary data between a TCP/IP server
> and the TInetSocket socket? If so please post links.

www.CtrlTerm.com has a simple Synapse example.

Regards,
Paul
www.ControlPascal.com




More information about the fpc-pascal mailing list