File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -35,14 +35,13 @@ namespace Ventilator
35
35
// Sends batch of tasks to workers via that socket
36
36
Console .WriteLine (" ====== VENTILATOR ======" );
37
37
using (var sender = new PushSocket (" @tcp://*:5557" ))
38
- using (var sink = new PullSocket (" >tcp://localhost:5558" ))
39
38
{
40
39
Console .WriteLine (" Press enter when worker are ready" );
41
40
Console .ReadLine ();
42
41
// the first message it "0" and signals start of batch
43
42
// see the Sink.csproj Program.cs file for where this is used
44
43
Console .WriteLine (" Sending start of batch to Sink" );
45
- sink .SendFrame (" 0" );
44
+ sender .SendFrame (" 0" );
46
45
Console .WriteLine (" Sending tasks to workers" );
47
46
// initialise random number generator
48
47
Random rand = new Random (0 );
You can’t perform that action at this time.
0 commit comments