Re: [Lazarus] Sending and receiving record or object data between applications running on different machines.
Hi Travis, Yes, I'm just not sure of the best way to do it with Lazarus. Richard On 26 Jul 2015 17:16, Travis Ayres tray...@gmail.com 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 richard.m...@gmail.com 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 Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Sending and receiving record or object data between applications running on different machines.
On Mon, 27 Jul 2015, 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. Richard On 26 Jul 2015 17:16, Travis Ayres tray...@gmail.com 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 richard.m...@gmail.com 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 Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Sending and receiving record or object data between applications running on different machines.
On 27/07/15 09:31, Richard Mace wrote: 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 -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] Sending and receiving record or object data between applications running on different machines.
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 Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Sending and receiving record or object data between applications running on different machines.
If there is a network they share, TCP/IP would work. A client/server architecture. On Jul 26, 2015 2:27 AM, Richard Mace richard.m...@gmail.com 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 Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus