| 2 |
raymond |
1 |

|
|
|
2 |
|
|
|
3 |
# ESPAsyncTCP
|
|
|
4 |
|
|
|
5 |
Project moved to [ESP32Async](https://github.com/organizations/ESP32Async) organization at [https://github.com/ESP32Async/ESPAsyncTCP](https://github.com/ESP32Async/ESPAsyncTCP)
|
|
|
6 |
|
|
|
7 |
Discord Server: [https://discord.gg/X7zpGdyUcY](https://discord.gg/X7zpGdyUcY)
|
|
|
8 |
|
|
|
9 |
Please see the new links:
|
|
|
10 |
|
|
|
11 |
- `ESP32Async/ESPAsyncWebServer @ 3.6.0` (ESP32, ESP8266, RP2040)
|
|
|
12 |
- `ESP32Async/AsyncTCP @ 3.3.2` (ESP32)
|
|
|
13 |
- `ESP32Async/ESPAsyncTCP @ 2.0.0` (ESP8266)
|
|
|
14 |
- `https://github.com/ESP32Async/AsyncTCPSock/archive/refs/tags/v1.0.3-dev.zip` (AsyncTCP alternative for ESP32)
|
|
|
15 |
- `khoih-prog/AsyncTCP_RP2040W @ 1.2.0` (RP2040)
|
|
|
16 |
|
|
|
17 |
### Async TCP Library for ESP8266 Arduino
|
|
|
18 |
|
|
|
19 |
For ESP32 look [https://github.com/ESP32Async/AsyncTCP](https://github.com/ESP32Async/AsyncTCP)
|
|
|
20 |
|
|
|
21 |
This is a fully asynchronous TCP library, aimed at enabling trouble-free, multi-connection network environment for Espressif's ESP8266 MCUs.
|
|
|
22 |
|
|
|
23 |
This library is the base for [https://github.com/ESP32Async/ESPAsyncWebServer](https://github.com/ESP32Async/ESPAsyncWebServer)
|
|
|
24 |
|
|
|
25 |
## AsyncClient and AsyncServer
|
|
|
26 |
The base classes on which everything else is built. They expose all possible scenarios, but are really raw and require more skills to use.
|
|
|
27 |
|
|
|
28 |
## AsyncPrinter
|
|
|
29 |
This class can be used to send data like any other ```Print``` interface (```Serial``` for example).
|
|
|
30 |
The object then can be used outside of the Async callbacks (the loop) and receive asynchronously data using ```onData```. The object can be checked if the underlying ```AsyncClient```is connected, or hook to the ```onDisconnect``` callback.
|
|
|
31 |
|
|
|
32 |
## AsyncTCPbuffer
|
|
|
33 |
This class is really similar to the ```AsyncPrinter```, but it differs in the fact that it can buffer some of the incoming data.
|
|
|
34 |
|
|
|
35 |
## SyncClient
|
|
|
36 |
It is exactly what it sounds like. This is a standard, blocking TCP Client, similar to the one included in ```ESP8266WiFi```
|
|
|
37 |
|
|
|
38 |
## Libraries and projects that use AsyncTCP
|
|
|
39 |
- [ESP Async Web Server](https://github.com/ESP32Async/ESPAsyncWebServer)
|
|
|
40 |
- [Async MQTT client](https://github.com/marvinroger/async-mqtt-client)
|
|
|
41 |
- [arduinoWebSockets](https://github.com/Links2004/arduinoWebSockets)
|
|
|
42 |
- [ESP8266 Smart Home](https://github.com/baruch/esp8266_smart_home)
|
|
|
43 |
- [KBox Firmware](https://github.com/sarfata/kbox-firmware)
|