git.iko.soy/distributed-process
on master help sign in
Merge pull request #1 from acfoltzer/patch-1

The third argument to both the master and client must be the filename of...

commit5f4d5a53b47f934d3f4ff3768f5e785431b51b3c authorNicolas Wu <zenzike@gmail.com> dateThu 12 Jan 2012, 08:51 (15 years ago) parent9c55ac554481b2
1 file changed+3−3
examples/DemoTCP.hs+3−3
examples/DemoTCP.hs+3−3
@@ -17,12 +17,12 @@ type ChanId = Int
1717-- the transport layer. After compiling, the following will initialize a new
1818-- master that waits for two clients to connect on the local machine:
1919--
20−-- ./DemoTCP 127.0.0.1 8080 2
20+-- ./DemoTCP 127.0.0.1 8080 sourceAddrFile 2
2121--
2222-- Following this, two slaves should be created that will connect to the master:
2323--
24−-- ./DemoTCP 127.0.0.1 8081
25−-- ./DemoTCP 127.0.0.1 8082
24+-- ./DemoTCP 127.0.0.1 8081 sourceAddrFile
25+-- ./DemoTCP 127.0.0.1 8082 sourceAddrFile
2626--
2727-- Once the connection is established, the slaves will provide the master
2828-- with their SourceAddr. The master then decodes this, and sends a message