Skip to content
This repository was archived by the owner on Jan 20, 2025. It is now read-only.
This repository was archived by the owner on Jan 20, 2025. It is now read-only.

Does not work with IPV6. #191

@nilo85

Description

@nilo85

Using this with IPV6 i get these kind of compile errors

pio/libdeps/d1_mini/ESPAsyncTCP/src/ESPAsyncTCP.cpp: In member function 'bool AsyncClient::connect(IPAddress, uint16_t)':
.pio/libdeps/d1_mini/ESPAsyncTCP/src/ESPAsyncTCP.cpp:248:8: error: 'ip_addr_t' {aka 'struct ip_addr'} has no member named 'addr'; did you mean 'u_addr'?
248 | addr.addr = ip;
| ^~~~
| u_addr
.pio/libdeps/d1_mini/ESPAsyncTCP/src/ESPAsyncTCP.cpp: In member function 'bool AsyncClient::connect(const char*, uint16_t)':

turns out this library does not understand the ip4/ip6 implementation of ESP8622 core.
https://github.com/esp8266/Arduino/blob/master/tools/sdk/lwip2/include/lwip/ip_addr.h#L69

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions