Hi All. We are using lwip-1.4.1 with FreeRTOS on Atmel-Studio-7, on Windows.
During the call to netconn_connect, the resultant err_t code being returned is ERR_ABRT. Upon debugging, the line that is triggering this is https://github.com/RT-Thread/rt-thread/blob/master/components/net/lwip-1.4.1/src/core/tcp.c#L824 resulting in https://github.com/RT-Thread/rt-thread/blob/master/components/net/lwip-1.4.1/src/core/tcp.c#L974 I have googled, and I see a lot of people have this issue. Unfortunately/Surprisingly, I was unable to land on a concrete solution :( Other information :: a) We are using two tasks in FreeRTOS context, a "Main" task, and a "Ethernet" task. "Ethernet" task does "init_ethernet". Right now, we are using g_ip_mode = 1 (static IP-Address mode). "init_ethernet" runs successfully in context of "Ethernet" task. b) Thereafter, we do "netconn_new" (with NETCONN_TCP) in context of "Main" task. It runs successfully, and then we reach the "netconn_connect" issue as described. I have already been banging my head since 3 days, but I am not seeing any light. I am definitely not a TCP/IP expert, but I am hard-working, and can definitely provide you more information as and when you experts guide me on how to go about solving this issue. Looking forward to hearing from you experts !! Thanks and Regards, Ajay _______________________________________________ lwip-users mailing list lwip-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/lwip-users