Skip to content

Commit

Permalink
revert "WiFiServer - 3 clients default"
Browse files Browse the repository at this point in the history
  • Loading branch information
JAndrassy committed Jul 25, 2022
1 parent 92ebad7 commit 0e7b534
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ This library implements Arduino WiFi networking API. The last version of this AP

The standard AT firmwares support only one TCP server. The ESP_ATMod firmware supports multiple servers.

* `begin` has optional parameters maxConnCount (default 3) and serverTimeout in seconds (default 60)
* `begin` has optional parameters maxConnCount (default 1) and serverTimeout in seconds (default 60)
* `beginSSL` ESP32 only. starts the server for secure connections.
* `end` to stop the server (the Arduino WiFi libraries can't stop a server)
* `accept` like in new [Ethernet library](https://www.arduino.cc/en/Reference/EthernetServerAccept). see the AdvancedChatServer
Expand Down
2 changes: 1 addition & 1 deletion src/WiFiServer.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class WiFiServer {

public:
WiFiServer(uint16_t);
void begin(uint8_t maxConnCount = 3, uint16_t serverTimeout = 60);
void begin( uint8_t maxConnCount = 1, uint16_t serverTimeout = 60);
void beginSSL(bool ca = false, uint8_t maxConnCount = 1, uint16_t serverTimeout = 60);
void end();
uint8_t status();
Expand Down

0 comments on commit 0e7b534

Please sign in to comment.