i really stuck into a problem:
I am missing in Arduino a Socket server sample which receives data from a TCP-Server.
Because my implementation of a socker-server in Micropython has a blocking method “connection.recv()” .
Blocking means: stopping code and not returning when client is connected but not sending anything.
Do you have a working example?
My code @ line 124: micropython code
data = self._connection.recv(1024)
Found no working example with “select”, “poll” or “socket.setblocking(0)”.
Arduino-WiFi-Server (SocketServer) library contains no read-implementation:
Am i missing something?
/edit: read methods found in ClientContext.h . Hope these are non-blocking …
May you deliver a programming sample for a socket-server for Arduino?
Analog to ESP8266?