You are reading a single comment by @DrAzzy and its replies. Click here to read the full conversation.
  • You probably need to wait a bit between them - the esp 8266 (that's what you're using, right?) supports up to 5 sockets, but their protocol is ambiguous (or it was - when a socket closed, it didn't tell you which one, or something like that), and espruino doesn't use that functionality yet.

    So yeah, setTimeout() is what I'd do, at least in the medium term


Avatar for DrAzzy @DrAzzy started