Does anyone know if there is an option to set LWIP TCP connect timeout in one of the many json files?
I think the default is 30 seconds but that is way too long for most local network applications.
I could change some settings in OS 5.15 a while ago by doing the change below in the LWPStack.cpp file and then set it to 200 to 300 mS which is ideal.
Fortunately I can still do this with OS 6.15.1 but its a pain to have to change this every time I update OS.
I did try again remote_device.set_blocking(false); but that does nothing for the connect timeout.
No worries, I have the work-a-around that fortunately has not been broken throughout all the mbed updates.
I can’t understand why no one else has had this issue, a 30 second blocking all other processes function makes no sense on a runtime operating system, unless I’m not using it correctly which is a high probability. I did question this with the mbed team a couple of years ago and was told it would require a lot of changes to implement and would not be backwardly compatible with other users programs, something that does not normally stop mbed changing things.