Hi Devs

I found a problem in my app while trying to Configure Iotivity - OcPlatform.Configure(platformConfig) in one thread

and calling OcPlatform.findResource("") (Multicast) in a different thread, that it doesn't work for 5 minute (i think it is until th Android OS releases the socket) and then start to work.

I created the same scenario with the SimpleClient app from the examples, by moving the findResource()  to a different thread after the OcPlatform.configure, and i got the same problem.

This all happen when i used only IPv4 as th OCConnectivityType.

Does anybody know why does it happen and can explain it to me?

Also what can i do to fix this problem? cause in my app i use the configure and the discovery in different scenarios.


Best Regards

Dawidowicz Nadav

Software Engineer
SURE Universal Ltd.

_______________________________________________
iotivity-dev mailing list
[email protected]
https://lists.iotivity.org/mailman/listinfo/iotivity-dev

Reply via email to