i made a ESP32/F9P/SAPOS ntrip client.
Basically, this is working. I like to handle the UART communication, some TCP sockets and the NTRIP client in one single thread.
For this, i have to use the esp_http_client_perform API with a small timeout (e.g. 10ms)
I know, this is more a ESP32 related issue, but maybe somebody in this forum did this.
https://github.com/MS71/LMROS/blob/main/esp32_fw/main/gps.cpp => gps_ntrip_start