Add abort() support if enabled in LWIP

This commit is contained in:
Alex Villacís Lasso
2020-12-21 14:04:00 -05:00
parent de2a0da915
commit 9ee3bda5ae
2 changed files with 14 additions and 1 deletions

View File

@@ -87,7 +87,7 @@ class AsyncClient : public AsyncSocketBase
bool connect(const char* host, uint16_t port);
void close(bool now = false);
//int8_t abort();
int8_t abort();
bool free();
bool canSend() { return space() > 0; }