Shortly, FreeRTOS IPInit() successful, but there is a problem as stated hierarchically below.
main.c :
FreeRTOS_socket( BaseType_t xDomain, BaseType_t xType, BaseType_t xProtocol )
FreeRTOS_Sockets.c :
->prvDetermineSocketSize( xDomain, xType, xProtocol, &uxSocketSize ) == pdFAIL
->->xIPIsNetworkTaskReady() == pdFAIL
->->->BaseType_t xIPIsNetworkTaskReady( void )
->->->{
->->-> return xIPTaskInitialised;
->->->}
xIPTaskInitialised is firing and setting pdTRUE in below
FreeRTOS_IP.c :
xReturn = xTaskCreate( prvIPTask, “IP-task”, ( uint16_t )ipconfigIP_TASK_STACK_SIZE_WORDS, NULL, ( UBaseType_t )ipconfigIP_TASK_PRIORITY, &xIPTaskHandle );
prvIPTask is created successfully and return pdTRUE but why socket creation is failing .
I check your answer before related topic below :
You said “basically network is not ready” I configure all of the requirements. What do you think about what are the missing matters when we look to network ready requirements?