Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!mips!swrinde!elroy.jpl.nasa.gov!jarthur!ucivax!orion.oac.uci.edu!nntpsrv From: pfluegl@chopin.eng.uci.edu (Manfred J. Pfluegl) Newsgroups: comp.unix.questions Subject: Communication between Unix processes running on different machines Message-ID: <27E5DD23.20422@orion.oac.uci.edu> Date: 19 Mar 91 09:42:59 GMT Organization: UC Irvine Lines: 31 Nntp-Posting-Host: chopin.eng.uci.edu ~s Communication between Unix processes running on different machines I am just starting to think about the implementation of a distributed algorithm on a set of Sun stations. Since I have never coded anything like that I was hoping for a few hints or other helpful input. I was skipping through the man-pages and it seems that creating a socket (2), and sending to or receiving from the socket with send(2), sendto(2), and recv(2) would be one possibility. My main interest is in very efficient communication (i.e. minumum message delay). All messages will be short (about 20 bytes). The following questions come to my mind: Are sockets the best approach? If not, what should I use instead? Has anyone written a simple test/application program including communication between different machines that I could look at? Any help is appreciated, Manfred -- Manfred Pfluegl - believer of "Per Aspera Ad Astra" ***** ***** pfluegl@uci.edu (Internet) * **** * **** pfluegl@uci.bitnet (Bitnet) * ***** **** pfluegl%uci.edu@RELAY.CS.NET (Internet from Europe)