git.iko.soy/distributed-process
on master help sign in
Merge pull request #1 from acfoltzer/patch-1
5f4d5a5Nicolas Wu
examples/DemoTCP.hs+3−3
@@ -17,12 +17,12 @@ type ChanId = Int
17-- the transport layer. After compiling, the following will initialize a new
17-- the transport layer. After compiling, the following will initialize a new
18-- master that waits for two clients to connect on the local machine:
18-- master that waits for two clients to connect on the local machine:
19--
19--
20−-- ./DemoTCP 127.0.0.1 8080 2
20+-- ./DemoTCP 127.0.0.1 8080 sourceAddrFile 2
21--
21--
22-- Following this, two slaves should be created that will connect to the master:
22-- Following this, two slaves should be created that will connect to the master:
23--
23--
24−-- ./DemoTCP 127.0.0.1 8081
24+-- ./DemoTCP 127.0.0.1 8081 sourceAddrFile
25−-- ./DemoTCP 127.0.0.1 8082
25+-- ./DemoTCP 127.0.0.1 8082 sourceAddrFile
26--
26--
27-- Once the connection is established, the slaves will provide the master
27-- Once the connection is established, the slaves will provide the master
28-- with their SourceAddr. The master then decodes this, and sends a message
28-- with their SourceAddr. The master then decodes this, and sends a message