Sign in Join

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

Mailing lists / lazarus / 2015-07

Sending and receiving record or object data between applications running on different machines.

5 messages · 4 people · –

Reply by email Subscribe to this list Your subscription

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

Travis Ayres
to Richard Mace

If there is a network they share, TCP/IP would work. A client/server architecture.

"Richard Mace" wrote 16 lines
Hi, Can anybody point me at an example of how 2 application's can transfer data between one another across 2 different machines. Thanks Richard PS Lazarus 1.4.2 FPC 2.6.4 windows -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20150726/6d428a23/attachment.html>

Reply by email

Richard Mace
to Travis Ayres

Hi Travis,
Yes, I'm just not sure of the best way to do it with Lazarus.

Richard

"Travis Ayres" wrote 27 lines
If there is a network they share, TCP/IP would work. A client/server architecture. On Jul 26, 2015 2:27 AM, "Richard Mace" wrote: > Hi, > Can anybody point me at an example of how 2 application's can transfer > data between one another across 2 different machines. > > Thanks > Richard > > PS Lazarus 1.4.2 FPC 2.6.4 windows > > -- > _______________________________________________ > Lazarus mailing list > > http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus > > -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20150727/9c1994ec/attachment.html>

Reply by email

Michael Van Canneyt
to Richard Mace
Richard Mace wrote
Hi Travis, Yes, I'm just not sure of the best way to do it with Lazarus.

if performance is not an issue: By far the easiest will be to let one app be a HTTP server, the other a HTTP client.

If you need high performance, then you should look at protocols like websocket (bauglir websocket) or a simple TCP/IP client server protocol.

If the communication is RPC style, I can very much recommend WST. It can handle both HTTP transport and TCP/IP transport. I've been using it for years, it beats some of the commercial products in Delphi. It takes care of the details.

Michael.

Show quoted text 32 lines
Richard On 26 Jul 2015 17:16, "Travis Ayres" wrote: > If there is a network they share, TCP/IP would work. A client/server > architecture. > On Jul 26, 2015 2:27 AM, "Richard Mace" wrote: > >> Hi, >> Can anybody point me at an example of how 2 application's can transfer >> data between one another across 2 different machines. >> >> Thanks >> Richard >> >> PS Lazarus 1.4.2 FPC 2.6.4 windows >> >> -- >> _______________________________________________ >> Lazarus mailing list >> >> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus >> >> > -- > _______________________________________________ > Lazarus mailing list > > http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus > >

Reply by email

Lukasz Sokol
to Richard Mace: Yes, I'm just not sure of the best way to do it with Lazarus. Richard -------------- next…
Richard Mace wrote 5 lines
Hi Travis, Yes, I'm just not sure of the best way to do it with Lazarus. Richard

Please avoid top-posting.(unless you have good reason for it; most email/news readers have a setting of where you start your reply, with others you just scroll down below the quote and type there)

Maybe instead of re-inventing a protocol, try looking at ones already in use, or describe what you want it to do and someone would hint. (e.g. what do you want to send/receive, are the machines in same subnet/network, are they p2p communications or one server, multiple clients involved?)

Kind Regards
el es

Reply by email