Hi, Hope the folks can shade some light on how the Discovery works with IPv4 and IPv6.
Suppose the client uses IP Adapter, and calls the Discovery API (findResources() in Java SDK) using the "default" connectivity mode (as opposed to specifying only IPv4 or only IPv6). The client should send multicast request for both IPv4 and IPv6, right? Now, suppose the server supports both IPv6 and IPv4. Assuming it gets both requests, is it guaranteed to respond only once? What "layer" is in charge of that uniqueness? (experimentally, I get the callback called once upon a discovered resource, so I assume there is some care...) I am trying to debug the situation when the discovery fails over the network, and the issue is being traced to the server failure to send back a response using IPv6. ['Network unreachable' error in sendto(), according to the IoTivity logs]. But if a client (at the time the IPv6 communication fails) performs the discovery limited to IPv4 only - the server responds!. So there is a weird situation when the "default" connectivity discovers LESS resources than IPv4-only discovery. Can it be related to the synchronization? I would appreciate any input on how it works. Best regards Max
_______________________________________________ iotivity-dev mailing list [email protected] https://lists.iotivity.org/mailman/listinfo/iotivity-dev
