Reputation: 11
i need to write c code for two processes in different host(computers) communicate using shared memory in Linux .
I know how to do this in the same computers but i different i do not know how.
Upvotes: -3
Views: 1998
Reputation: 95
maybe you are interested in Shared Memory Communication (SMC-R and SMC-D). But still you need specialized hardware for that.
Upvotes: 0
Reputation: 5816
You can't communicate between two processes in different machine using shared memory ,you need to do socket programming for communicating between two different machines.
Please refer http://www.thegeekstuff.com/2011/12/c-socket-programming/ for your reference
Upvotes: 2