I have two C programs that need to run simultaneously on a small computer in order to do some simulation. One program will receive user-input from a separate Windows machine, the other program will communicate with another separate machine in order to actually perform the simulation algorithms. They will both always be connected and always have ports open while the small computer is active.
The problem I have run into is that the user-inputted information will be used within program running the algorithms, i.e.: the one not constantly listening for user input. I can't see myself merging the two programs as the simulation requires very fast communication, and can't be bogged down by listening on the other port. And this setup obviously prohibits simply linking the files or fancy header work.
So, anyone have any ideas? One thing they could do is read/write data from/to a file in a hardcoded location, but that seems pretty cheesy. Should I just scrap the current outline of the project and go a different direction?
Thanks in advance!