On 9/21/2023 6:34 AM, Simon Filgis wrote:
When I started with networking, I set the IP via kconfig. I remember that it was necessary to enter the same IP at two different places. Netlib and FTP server in my case. Maybe your IP is overwritten by another app? A buildin app that you use for experiments?
Something as simple as stack overflow might be the issue. There are some huge arrays on the stack that might be causing issues:
struct sockaddr_in address; int opt = 1; int addrlen = sizeof(address); / char buffer[2048] = {0};// // char response[4096] = {0};/ const char *file = "/data/client.html"; So it is going to need a stack allocation of something like 8Kb.