Your new topic does not fit any of the above??? Check first. Then post here. Thanks.

Moderator: igrr

User avatar
By sadiq1aziz
#81042 Hi

I'm trying to use the function client.setTimeout() with functions like readStringUntil(). I've a case wherein occasionally, the program fails to read the string properly and remains hanging for quite some time. So, I want to implement it in such a way so that if it indeed does hang, the timeout kicks in and terminates the client object used to read JSON via GET request from a server.

Suggestions? Please do provide a template as im a noob in programming.

thanks