So where then did the "accept" name come from? The answer is that in sockets API there is a partner function called "accept". When executed against a socket that has previously had "listen" called against it, what it does is block until a partner actually attempts to connect. In the ESP8266, there is no equivalent. Instead, after "espconn_accept" is called, the ESP8266 immediately starts listening and when a partner connects, we wake up in the connect callback. So ... is "espconn_accept" a sockets "listen()" call or a sockets "accept()" call? My mind says that it is MUCH closer to a "listen()" call.Statistics: Posted by kolban — Wed Sep 23, 2015 10:48 am
]]>