projects
/
swifty.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ca3c31
)
Add option for a different destination address in the client.
author
Adrian Bondrescu
<adi.bondrescu@gmail.com>
Sun, 20 May 2012 16:36:02 +0000
(19:36 +0300)
committer
Adrian Bondrescu
<adi.bondrescu@gmail.com>
Sun, 20 May 2012 16:36:02 +0000
(19:36 +0300)
test/client.c
patch
|
blob
|
history
diff --git
a/test/client.c
b/test/client.c
index
1055296
..
b2e58d6
100644
(file)
--- a/
test/client.c
+++ b/
test/client.c
@@
-8,6
+8,7
@@
#include <stdlib.h>
#define ADDR 0x80BEA8C0
+#define DADDR 0x81BEA8C0
int main(int argc, const char *argv[])
{
@@
-50,9
+51,9
@@
int main(int argc, const char *argv[])
iov[1].iov_len = sizeof(buf2);
to->count = 2;
- to->dests[0].addr = ADDR;
+ to->dests[0].addr =
D
ADDR;
to->dests[0].port = 100;
- to->dests[1].addr = ADDR;
+ to->dests[1].addr =
D
ADDR;
to->dests[1].port = 101;
msg.msg_iov = iov;