Multicast Discovery

36 views
Skip to first unread message

Rakshan Premsagar

unread,
Dec 24, 2020, 12:04:09 PM12/24/20
to open62541
Hello,
I have been exploring discovery mechanisms for my tasks, and have some queries.
I am using the discovery section from the examples.
1 ) I run the server_lds.c with mDNS enabled.
The service is advertised on the network.
However, the documentation specifies that services are advertised as SRV records. But it happens after some PTR queries and responses.
Is it an overhead here before establishing the service? Also mDNS specifies probe and announcement queries. Has it got any influence on the announcement observations on wireshark?

2) I also run the multicast server(server_multicast.c). The record gets added with domain name. However, when i stop this service, although multicast server log says that the record has been removed, the LDS log says that the record could not be removed.
Therefore I see queries involving the multicast server inspite of it not running on the wireshark tool.
How to rectify this?

Please let me know.

Regards,
Rakshan

Rakshan Premsagar

unread,
Dec 24, 2020, 12:07:49 PM12/24/20
to open62541
The log of LDS (Sample)

2020-12-24 17:49:30.867 (UTC+0100)] [32minfo/server [0m    Multicast DNS: remove record for domain: Sample Multicast Server-o755-gksr._opcua-tcp._tcp.local.
[2020-12-24 17:49:30.867 (UTC+0100)] [32minfo/server [0m    Multicast DNS: remove record for domain: Sample Multicast Server-o755-gksr._opcua-tcp._tcp.local.
[2020-12-24 17:49:30.867 (UTC+0100)] [33mwarn/server [0m    Could not remove mDNS record for hostname Sample Multicast Server.
[2020-12-24 17:49:30.868 (UTC+0100)] [32minfo/channel [0m    Connection 6 | SecureChannel 2 | CloseSecureChannel
Reply all
Reply to author
Forward
0 new messages