summaryrefslogtreecommitdiff
path: root/lib/examples
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordu.net>2011-03-06 14:46:57 +0100
committerLinus Nordberg <linus@nordu.net>2011-03-06 14:46:57 +0100
commit7636505962a348d9564e53922834dc6df1274653 (patch)
tree28a696ab93922db7a3ebb47093e6225040ebc1fe /lib/examples
parentfda0bfd44f940688f85fe3a99a0c8cd91611452f (diff)
UDP w/o bufferevents, part 1.
Sending, no retransmitting and no receiving.
Diffstat (limited to 'lib/examples')
-rw-r--r--lib/examples/client-udp.conf6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/examples/client-udp.conf b/lib/examples/client-udp.conf
index a83fb26..8578e8b 100644
--- a/lib/examples/client-udp.conf
+++ b/lib/examples/client-udp.conf
@@ -1,10 +1,10 @@
config blocking-udp {
type = "UDP"
+ timeout = 2
+ retries = 2
server {
- hostname = "localhost"
+ hostname = "127.0.0.1"
service = "1820"
secret = "sikrit"
- timeout = 1 /* optional */
- tries = 10 /* optional */
}
}