Timeline for Multiple WiFi client/server connections
Current License: CC BY-SA 4.0
6 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Aug 28, 2019 at 5:40 | comment | added | Len Shustek | I agree, it should. But it doesn't seem to. Notice that it never responds to packet 180, which is trying to establish a connection from port 62347. Is there anything I could be doing wrong that causes it not to? | |
| Aug 28, 2019 at 5:22 | comment | added | Juraj♦ | but the TCP listening socket is on the ESP32. it should handle the TCP part of establishing the TCP connection. and then the connection should wait until the sketch gets to it | |
| Aug 27, 2019 at 21:26 | comment | added | Len Shustek | Your suggestion to "...handle the request, send the response and stop()" won't work for Chrome, because by that time the library has already ignored the SYN packet establishing the second connection. Besides, Chrome expects both connections to be open at the same time. That's a totally legitimate use of the TCP/IP protocol. | |
| Aug 27, 2019 at 21:18 | comment | added | Len Shustek | "The server.available() in Arduino networking libraries returns always the first connected client." That doesn't seem to be the case for WiFiMINA. It's true the first time I call it in my example after connection ("Client 2"), but then as soon as data is available on the connection, server.available() returns zero. | |
| Aug 27, 2019 at 19:09 | history | edited | Juraj♦ | CC BY-SA 4.0 | added 18 characters in body |
| Aug 27, 2019 at 19:02 | history | answered | Juraj♦ | CC BY-SA 4.0 |