\r
IotNetworkError_t IotNetworkFreeRTOS_Create( void * pConnectionInfo,\r
void * pCredentialInfo,\r
- void ** pConnection )\r
+ void ** pConnection ) //_RB_ Why all void* and why a void**?\r
{\r
IOT_FUNCTION_ENTRY( IotNetworkError_t, IOT_NETWORK_SUCCESS );\r
Socket_t tcpSocket = FREERTOS_INVALID_SOCKET;\r
const TickType_t receiveTimeout = pdMS_TO_TICKS( IOT_NETWORK_SOCKET_POLL_MS );\r
_networkConnection_t * pNewNetworkConnection = NULL;\r
\r
- /* TLS is not supported yet and therefore pCredentialInfo must be NULL. */\r
+ /* TLS is not enabled in this version and therefore pCredentialInfo\r
+ must be NULL. */\r
configASSERT( pCredentialInfo == NULL );\r
\r
/* Cast function parameters to correct types. */\r
IotLogError( "Failed to resolve %s.", pServerInfo->pHostName );\r
IOT_SET_AND_GOTO_CLEANUP( IOT_NETWORK_SYSTEM_ERROR );\r
}\r
-\r
+ //_RB_ Connects without setting a read block time.\r
socketStatus = FreeRTOS_connect( tcpSocket,\r
&serverAddress,\r
sizeof( serverAddress ) );\r