Quote:
Originally Posted by Elrick
Yes this code works without an errors,
|
Good. You need to keep that error trapping in place.
Quote:
|
but it works from the second-third time... When i press the button for the first time, there is always "no response received" inscription...
|
That cannot be anything to do with the threading library. More likely it is something in your device IP stack that causes the initial delay. Try increasing your HTTP timeout.