[fpc-pascal] InterProcessCommunication

Michael Van Canneyt michael at freepascal.org
Sun Sep 6 15:03:02 CEST 2009



On Sun, 6 Sep 2009, Koenraad Lelong wrote:

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



More information about the fpc-pascal mailing list