Closed
Description
MbedUDP::beginPacket() hangs for over 10 seconds if IPV6 responses are received.
It is believed this is caused by gethostbyname() within SocketHelpers.cpp passing NSAPI_UNSPEC as the desired response type. Overriding with NSAPI_IPv4 eliminates the problem. Full details can be found here https://forum.arduino.cc/t/dns-resolution-hangs-udp-for-10-sec-on-ipv6-networks/1349444
Metadata
Metadata
Assignees
Labels
No labels