• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 216
  • Last Modified:

communicate between two PCs with network adapter

I need two Delphi applications running on two different machines communicate with each other using simple network adapters. Currently we are developing a flight simulator application and we need two different machines, one to perform the flight calculations and other to display the respective view. I want to do this on two separate machines to have more CPU time for either application.

    Now the problem is that how can I rapidly develope a code to communicate the necessary data between to machines (applications)? I have experience with Delphi but not with the network application developement.
1 Solution
A simple TCP/IP or UDP client/server would do the job i guess, although you have many options like RPC, COM+, CORBA etc...

The main task is developing an effective protocol and data structures for exchange, but the topic on this is so large, we could have an extra experts-exchange just about that.

As for components you have many choices, like Indy for example (at http://www.nevrona.com/Indy), Borlands TServerSocket/TClientSocket, ICS etc...

But as you say you have no experience in network application development, i think the best thing to do is go through some theory, read some tutorials, articles on themes like Client/server, TCP/IP, Distributed Computing, Remote procedure calls, etc...

If you prefer TCP/IP, check out some great articles at http://www.nevrona.com/Indy/Articles.html (Introduction to Sockets and What is TCP/IP is a good start).
BRAZIL 5 times WorldCup Champion!

Congratulations too to all Brazilian Experts and those that beleived we would be world's number one (one more time).

Victory Fernandes, a proud Brazilian!
I second what MeSSiah says and would add that one thing to do (if you do TCP/IP) is really study the state diagrams most books document for UDP and TCP to understand how the communication model works.  It is fascinating and FUN stuff to play/work with.  Enjoy!

I did some playing around with the TNMMsg and TNMMsgSrv.  They're really easy to use; I think they even had some good examples.  TNMStrm also looks quite useful.  It may not be "award winning" efficiency or flexibility but it works quite nicely.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now