I suggest to refactore that function to using poll/select to drive timeout with iotivity, not byt system.
https://jira.iotivity.org/browse/IOT-3133 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#9806): https://lists.iotivity.org/g/iotivity-dev/message/9806 Mute This Topic: https://lists.iotivity.org/mt/23801764/21656 Group Owner: iotivity-dev+ow...@lists.iotivity.org Unsubscribe: https://lists.iotivity.org/g/iotivity-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-