When an iotivity client tries to connect to the cloud, it tries to open a socket using nonblocking io, as can be seen here: https://github.com/iotivity/iotivity/blob/50e57ef6c448ab8839b8a057a2817b82c37fcfdb/resource/csdk/connectivity/src/tcp_adapter/catcpserver.c#L918
This means that when trying to connect to the cloud, if there is no connectivity, we it can take a very long time, if at all, to get the failure callback. Is this behavior by design? -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#9798): https://lists.iotivity.org/g/iotivity-dev/message/9798 Mute This Topic: https://lists.iotivity.org/mt/23801764/21656 Group Owner: [email protected] Unsubscribe: https://lists.iotivity.org/g/iotivity-dev/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
