Wifinina to service 2 clients at same time

looking for guidance.
I have a nano 33 iot and want to allow two clients to connect to my access point.

I don't want to close one in order to service the other as I will be using something like json or xml to continuously update the pages on both attached clients. is this possible?

All the examples I have seen will service an HTML connection and then close the connection then wait for another html request from the same or another client.

Thanks in advance.

I am not an expert, but I am pretty sure I have seen examples that do what you want. Start there.
I just did a quick peek and saw a multi-client example.

true multi client, or servicing one html request at a time I have not found any examples so far.

One example has 8 clients.

can you give a link to it. thanks

If you want to handle multiple clients concurrently rather than sequentialy you have to use Asynch libs and an esp32.

that example uses telnet and not html on port 80.

So, the problem you had was multiple, what they do is code you need to change.
Much easier and efficient to switch boards to an ESP32 and get real concurrency.

I agree but I need a small size board like a nano with an inbuilt accelerometer. my esp8266 is physically too big for my project.

@gordonw

Check out this work by Ocrdu arduino-webinterface-websocket-ap
or STA version here

I hope it's not XML :slight_smile: How "continuously"? I don't have anything that runs WiFiNINA, but whipped up a server on R4 (which runs WiFiS3) and got two browsers to fetch data simultaneously. With the full client connection cycling, I got median maybe 150ms per response, each. Occasionally, a call would take over two seconds.