Using the functions connection becomes easy: #include "esp_wifi.h" #include "string.h" #include "nvs_flash.h" #include "wificonnect.h" void app_main(void ...
If you compile with C99 or C11 selected then you will find that none of the following works. You need to add: #define _GNU_SOURCE to the start of the file. You pass getaddrinfo the IP address or the ...