Why does object behavior differ when assigned to local vs global/class scope?
In the code below, the WiFiClient object changes behavior depending on whether it is assigned to a locally scoped or non-locally scoped variable.
In the code below, the WiFiClient object changes behavior depending on whether it is assigned to a locally scoped or non-locally scoped variable.