Re: [Lazarus] IPC: TSimpleIPC, ZeroMQ, nanomsg...

2017-10-20 Thread Denis Kozlov via Lazarus
On 20/10/2017 17:12, Marcos Douglas B. Santos via Lazarus wrote: But, as I told you, we shouldn't predetermined ports because others processes, which do not belongs us, could use the same ports. I believe, these ports should be dynamic and the main application needs a way to know these informatio

Re: [Lazarus] IPC: TSimpleIPC, ZeroMQ, nanomsg...

2017-10-20 Thread Denis Kozlov via Lazarus
But do you also recommend to use TCP even in local (same machine) applications? Yes, but whether it would be the best method to use will depend heavily on your use case. How do you know which ports were used for each application? That, again, depends on your use case. For example, if your

Re: [Lazarus] IPC: TSimpleIPC, ZeroMQ, nanomsg...

2017-10-20 Thread Marcos Douglas B. Santos via Lazarus
On Thu, Oct 19, 2017 at 4:44 PM, Denis Kozlov wrote: > I would also suggest IPC through TCP/IP. > > I have deployed several tools with such IPC implementation which operate > across multiple platforms and are rock solid. All you need is a good > networking library that works in both FPC and Delphi

Re: [Lazarus] IPC: TSimpleIPC, ZeroMQ, nanomsg...

2017-10-19 Thread Denis Kozlov via Lazarus
I would also suggest IPC through TCP/IP. I have deployed several tools with such IPC implementation which operate across multiple platforms and are rock solid. All you need is a good networking library that works in both FPC and Delphi, such as Synapse

Re: [Lazarus] IPC: TSimpleIPC, ZeroMQ, nanomsg...

2017-10-19 Thread Marcos Douglas B. Santos via Lazarus
On Thu, Oct 19, 2017 at 2:42 PM, Sandro Cumerlato via Lazarus wrote: > ZeroMQ (libzmq 4.2.2) header binding for FPC is available at: > > https://github.com/DJMaster/zeromq-fpc Yeah, I saw this on ZeroMQ website. Thanks anyway. Regards, Marcos Douglas -- _

Re: [Lazarus] IPC: TSimpleIPC, ZeroMQ, nanomsg...

2017-10-19 Thread Sandro Cumerlato via Lazarus
ZeroMQ (libzmq 4.2.2) header binding for FPC is available at: https://github.com/DJMaster/zeromq-fpc Best regards. Sandro Cumerlato On 19 October 2017 at 05:23, R0b0t1 via Lazarus < lazarus@lists.lazarus-ide.org> wrote: > On Wed, Oct 18, 2017 at 3:38 PM, Marcos Douglas B. Santos via Lazarus >

Re: [Lazarus] IPC: TSimpleIPC, ZeroMQ, nanomsg...

2017-10-18 Thread R0b0t1 via Lazarus
On Wed, Oct 18, 2017 at 3:38 PM, Marcos Douglas B. Santos via Lazarus wrote: > Hi, > > I would like to know if someone has already worked with Messages > between different programs, made in different languages, with binds to > work in FPC and Delphi 7. > > My main case is connect a old Delphi 7 pr

[Lazarus] IPC: TSimpleIPC, ZeroMQ, nanomsg...

2017-10-18 Thread Marcos Douglas B. Santos via Lazarus
Hi, I would like to know if someone has already worked with Messages between different programs, made in different languages, with binds to work in FPC and Delphi 7. My main case is connect a old Delphi 7 program to have a "conversation" with others Exes, coded in FPC, locally. But in the future