summaryrefslogtreecommitdiff
path: root/src/examples/dlt-example-multicast-clientmsg-view.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/examples/dlt-example-multicast-clientmsg-view.c')
-rw-r--r--src/examples/dlt-example-multicast-clientmsg-view.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/examples/dlt-example-multicast-clientmsg-view.c b/src/examples/dlt-example-multicast-clientmsg-view.c
index c9bd743..f68473c 100644
--- a/src/examples/dlt-example-multicast-clientmsg-view.c
+++ b/src/examples/dlt-example-multicast-clientmsg-view.c
@@ -164,7 +164,9 @@ int main()
if (dlt_message_init(&msg, 0) == DLT_RETURN_ERROR)
return DLT_RETURN_ERROR;
- if (dlt_receiver_init(&(clientinfo.receiver), clientinfo.fd,
+ if (dlt_receiver_init(&(clientinfo.receiver),
+ clientinfo.fd,
+ DLT_RECEIVE_UDP_SOCKET,
DLT_RECEIVE_BUFSIZE) != DLT_RETURN_OK)
return DLT_RETURN_ERROR;