Send sync TCP socket from PC to ESP32 in stream async #16379
nastiliano
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello everybody.
I'm able to do this connection (described in the title) only in a random way. Sometimes works, others not...
My PC app doesn't need to work async, because I press a button to send a JSON bytes via sockets TCP, but my ESP32 device need to work obviously in async mode becase needs to listen sockets on a port and do another tasks (coros).
My client code (PC) is:
My server (ESP32) code is (aprox.):
Some help please??
Best Regards
Beta Was this translation helpful? Give feedback.
All reactions