Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Working on pirate patterns

  • Loading branch information...
commit 4f41571ccdb5414584e8a4c8763966ff281080df 2 parents 002d268 + 359f680
@hintjens hintjens authored
View
2  examples/C/piclient.c
@@ -35,8 +35,6 @@ int main (void)
// We send a request, then we work to get a reply
char request [10];
sprintf (request, "%d", ++sequence);
- // Wait one second in between requests
- sleep (1);
s_send (client, request);
int expect_reply = 1;
View
1  examples/C/piserver.c
@@ -31,6 +31,7 @@ int main (void)
sleep (5);
}
printf ("I: normal request (%s)\n", request);
+ sleep (1);
s_send (server, request);
free (request);
}
View
1  examples/C/piworker1.c
@@ -17,7 +17,6 @@ int main (void)
char identity [10];
sprintf (identity, "%04X-%04X", randof (0x10000), randof (0x10000));
zmq_setsockopt (worker, ZMQ_IDENTITY, identity, strlen (identity));
-
zmq_connect (worker, "tcp://localhost:5556");
// Tell queue we're ready for work
Please sign in to comment.
Something went wrong with that request. Please try again.