user84852: I am trying to get a web server to run on the ESP12E on the Node MCU variant, and following the example from the esp8266 documentation page here. But the code does not compile, throwing the following error message:
'class WiFiServer' has no member named 'accept'; did you mean '_accept'?

I'm relatively new to MCUs in general, and cannot find a solution for this on any website. Any help would be appreciated.

user37622: The 'latest' documentation applies for git master branch.
accept() is ready for the next release of Arduino esp8266. It will be version 3.1.0. Until then you can use server.available(). It works the same way as accept() in ESP8266WiFi library's WiFiServer.
I initiated the addition of server.accept(), because server.available() in esp8266 WiFiServer works as Ethernet library's server.accept(), not as server.available().

84852: <p>I am trying to get a web server to run on the ESP12E on the Node MCU variant, and following the example from the esp8266 documentation page <a href="https://arduino-esp8266.readthedocs.io/en/latest/esp8266wifi/server-examples.html" rel="nofollow noreferrer">here</a>. But the code does not compile, throwing the following error message:</p>
<pre><code>'class WiFiServer' has no member named 'accept'; did you mean '_accept'?
</code></pre>
<p>I'm relatively new to MCUs in general, and cannot find a solution for this on any website. Any help would be appreciated.</p>
 37622: <p>The 'latest' documentation applies for git master branch.</p>
<p><code>accept()</code> is ready for the next release of Arduino esp8266. It will be version 3.1.0. Until then you can use <code>server.available()</code>. It works the same way as <code>accept()</code> in ESP8266WiFi library's WiFiServer.</p>
<p>I initiated the addition of <code>server.accept()</code>, because <code>server.available()</code> in esp8266 WiFiServer works as Ethernet library's <code>server.accept()</code>, not as <code>server.available()</code>.</p>
