It would appear that the value for connection_timeout only affects the MQTT client connect and not socket connect so if the socket fails to connect the event dispatcher continuously check select (which times out given the default of 4 seconds) but fails to do anything with returned IOTC_BSP_IO_NET_STATE_TIMEOUT code.
Also of note is that defining IOTC_DEUBG_OUTPUT_EVENT_SYSTEM cause compile errors (it appears several of the structures have changed their definitions).
It would appear that the value for connection_timeout only affects the MQTT client connect and not socket connect so if the socket fails to connect the event dispatcher continuously check select (which times out given the default of 4 seconds) but fails to do anything with returned IOTC_BSP_IO_NET_STATE_TIMEOUT code.
https://github.com/GoogleCloudPlatform/iot-device-sdk-embedded-c/blob/5d17e9907cae5ce0f459f85d4289aec50c351e69/src/libiotc/event_loop/iotc_event_loop.c#L243-L252
Also of note is that defining IOTC_DEUBG_OUTPUT_EVENT_SYSTEM cause compile errors (it appears several of the structures have changed their definitions).