Page 1 of 1

Message Passing between different machines

Posted: Sat Nov 26, 2005 12:00 am
by floatT
Hi!

I want to use message passing with mailboxes between processes running not on the same machine.

Message Passing uses functions msgsnd() and msgrcv() to send and receive messages.
Implementing on same machine between parent and child process doesn't seem to be a big problem, but what can i do if the processes producer and consumer run on different machines?

Is it possible to solve this problem using sockets or do i need a message passing system (MPI) then with other functions than msgsnd() and msgrcv()?

How to pass messages to processe's mailbox on other machine?

regards,
floatT

Re: Message Passing between different machines

Posted: Sun Nov 27, 2005 12:00 am
by Legend
Hmm, well, looks like you need to add TCP/IP support to your OS first at least! ;)