Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2009-09

InterProcessCommunication

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Koenraad Lelong

Hi,
I would like to use some form of IPC, but I would like some examples. In the rtl-reference I found working examples with sockets, but these use deprecated functions. I translated them to up-to-date functions but I don't know how to read from the socket, do I use fpRead or fpRecv ? How do I check if the socket is "empty" ?
I found references to simpleIPC, but I can't find examples. I found an xml-file, could this some explanation ?
I'm using FPC 2.2.4. Any pointers ?
TIA

Regards,
Koenraad Lelong.

Reply by email

Michael Van Canneyt
to Koenraad Lelong
Koenraad Lelong wrote 8 lines
Hi, I would like to use some form of IPC, but I would like some examples. In the rtl-reference I found working examples with sockets, but these use deprecated functions. I translated them to up-to-date functions but I don't know how to read from the socket, do I use fpRead or fpRecv ? How do I check if the socket is "empty" ? I found references to simpleIPC, but I can't find examples. I found an xml-file, could this some explanation ?

The SimpleIPC unit is documented in the FCL documentation.

The dbugintf() unit and the debugserver counterparts (one in lazarus, one in fpc/utils demonstrate simple one-way IPC.

Michael.

Reply by email