user3484846
user3484846

Reputation: 11

IPC communications in different computers using shared memory

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

Answers (2)

maybe you are interested in Shared Memory Communication (SMC-R and SMC-D). But still you need specialized hardware for that.

Upvotes: 0

Rahul R Dhobi
Rahul R Dhobi

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

Related Questions