mirror of
https://github.com/esp8266/Arduino.git
synced 2025-07-26 07:02:15 +03:00
WiFiServer - 'rename' available() to accept() (#8419)
* WiFiServer - 'rename' available() to accept() * use server.accept() instead of available() * WiFiServer.accept() and ArduinoWiFiServer class doc update
This commit is contained in:
@ -193,7 +193,7 @@ void Netdump::tcpDumpLoop(WiFiServer &tcpDumpServer, const Filter nf)
|
||||
{
|
||||
if (tcpDumpServer.hasClient())
|
||||
{
|
||||
tcpDumpClient = tcpDumpServer.available();
|
||||
tcpDumpClient = tcpDumpServer.accept();
|
||||
tcpDumpClient.setNoDelay(true);
|
||||
|
||||
bufferIndex = 0;
|
||||
|
Reference in New Issue
Block a user