Displaying 1 result from an estimated 1 matches for "secondmachin".
Did you mean:
secondmachine
2005 Apr 14
0
Finding an available port for server socket
...y this works is that
(i) The Smalltalk app running on firstMachine finds an available port (say
12345) that it can listen on, start listening there, and writes
slaveStart("firstMachine", 12345)
to startUpFile.
(ii) The Smalltalk app does something like this to start R on secondMachine:
ssh secondMachine R < startUpFile > someLogFile
(iii) R sends the inPort port number back to Smalltalk.
(iv) Whenever Smalltalk wants R to do something, it opens a client connection
to inPort on secondMachine and writes R code to it. It closes the
connection when it fin...