Arduino Loop() function execute only once with WiFI Connection!

Hi All,

I am Fernando from Australia, Melbourne. I am new to this forum.

I have come across a situation with Arduino loop() function when connected to the WiFi.
I would like to verify whether this is correct?

When the WiFi connection settings are included in an Arduino sketch does the loop() function execute only once? and waiting for any remote commands through wifi to execute the contents inside the loop() function?

In another words, I have a sketch to blink an LED every 200ms. This is working fine without including wifi setup into the sketch.

But when I included the wifi setup, it gets connected to the wifi and LED blinks (on and then off) only once. I have couple of HTML buttons and when I press one of those buttons the LED blinks again and that it. It is not continuously blinking (on and off) ?

Any idea or thoughts?

Cheers
Fernando

You really have to post your sketch so people can see what or if there is an issue.

Right now it could be anything so its better not to even try answer.
BTW if you post your code then use the code tags ( </> )