Closed HRogge closed 2 years ago
Hi. The multicast messages support only the server and yes you can use the same port. Pls look to example:
Thank you for the quick answer, it made me notice that I got drawn to the old (v1?) codebase by an example on pkg.go.dev. I will now look at the new codebase...
Is there also an example for sending a multicast message (udp message, non-confirmable, Option NoResponse-2) instead of a Discovery? Edit: resolved the problem by using WriteMessage() and turning of the blockwise transfer of the coap session. I think I run into a bug: #272
solved by #291 and some explanations. thank you for merging the code that quickly
Is it possible for a server using this library to receive both unicast and multicast messages on the same UDP port?