mirror of
https://github.com/me-no-dev/AsyncTCP.git
synced 2025-09-26 14:20:54 +02:00
Merge branch 'main' into clang
This commit is contained in:
@@ -787,7 +787,9 @@ bool AsyncClient::connect(const char* host, uint16_t port){
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
TCP_MUTEX_LOCK();
|
||||||
err_t err = dns_gethostbyname(host, &addr, (dns_found_callback)&_tcp_dns_found, this);
|
err_t err = dns_gethostbyname(host, &addr, (dns_found_callback)&_tcp_dns_found, this);
|
||||||
|
TCP_MUTEX_UNLOCK();
|
||||||
if(err == ERR_OK) {
|
if(err == ERR_OK) {
|
||||||
#if ESP_IDF_VERSION_MAJOR < 5
|
#if ESP_IDF_VERSION_MAJOR < 5
|
||||||
#if LWIP_IPV6
|
#if LWIP_IPV6
|
||||||
|
Reference in New Issue
Block a user