I have been trying to find
this in Google, but I couldn't find any answer
. Hopefully somebody can help me to solve this.
I have 2 Linux computers (using Ubuntu) and they need to 'talk' to each other. The 2 computers are part of a scientific experiment, and I need 2 different computers which play different roles in the experimental setup. They don't communicate much information, just a couple of bytes every ~50 milleseconds.
Right now, I use flat ribbon cables and ComputerBoard digital IO cards, and I use some custom functions to communicate over these lines. Of course that works, but the disadvantage is that the cables are vulnerable, and the IO cards are expensive. I'd rather do everything using USB or the Ethernet cards. But how can you do you that?
And what kind of cables would you use. And could anybody refer me to a code example?
Thanks!
Gilberto