CoAPthon3 is a porting to python3 of my CoAPthon library. CoAPthon3 is a python3 library to the CoAP protocol compliant with the RFC. Branch is available for the Twisted framework.
MIT License
59
stars
50
forks
source link
combined multicast and unicast sockets to one socket #8
Hi,
I am encountering a problem when using a multicast server which should be requested with a unicast request. In the example below, I only get the first response after the multicast but not the second response from the unicast request. I am not sure, if my solution attempt is correct, but maybe you could have a look. It is only for IPv4 firstly. Thanks!
Then I started the client which discovers the server with a multicast request and then sends a unicast request with the informations from the first response.
Hi, I am encountering a problem when using a multicast server which should be requested with a unicast request. In the example below, I only get the first response after the multicast but not the second response from the unicast request. I am not sure, if my solution attempt is correct, but maybe you could have a look. It is only for IPv4 firstly. Thanks!
To reproduce on localhost:
I first started the server.
Then I started the client which discovers the server with a multicast request and then sends a unicast request with the informations from the first response.