From de906e3721e19d9d8b2c61f834d8057bcce47af1 Mon Sep 17 00:00:00 2001 From: Linus Nordberg Date: Wed, 29 Sep 2010 16:05:40 +0200 Subject: * lib/examples/client.c: Use UDP. --- lib/examples/client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/examples/client.c b/lib/examples/client.c index 2304e49..14555c7 100644 --- a/lib/examples/client.c +++ b/lib/examples/client.c @@ -25,7 +25,7 @@ rsx_client (const char *srvname, int srvport) if (rs_conn_create (h, &conn)) return rs_conn_err_pop (conn); - if (rs_conn_add_server (conn, &server, RS_CONN_TYPE_TCP, srvname, srvport)) + if (rs_conn_add_server (conn, &server, RS_CONN_TYPE_UDP, srvname, srvport)) return rs_conn_err_pop (conn); rs_server_set_timeout (server, 10); rs_server_set_tries (server, 3); -- cgit v1.1