| Previous | Next |
| WSAECONNREFUSED | WSAENAMETOOLONG |
WSAELOOP
WSAELOOP is one of the BSD-compatible error values carried into the Winsock error namespace. Microsoft describes it as a failure to translate a name. The important diagnostic point is that this is a translation problem, not evidence that a TCP connection looped or packets circulated in the network.
Find the translation layer
Winsock 2 can route name and service lookups through namespace providers. Portable libraries may also translate POSIX-style errors into WSA* values. Record whether the failing path used legacy gethostbyname, getaddrinfo, or the WSALookupService* family before attributing the code to DNS.
What can form a loop
- Repeated name rewriting or alias expansion in a compatibility or namespace provider.
- Application code that feeds a translated result back as a new lookup key.
- For filesystem-oriented portability code, cyclic symbolic-link resolution, which is the POSIX meaning of
ELOOP.
Capture the original name and each transformed name. A packet trace alone may show nothing if the loop is entirely local and the query never reaches DNS.
Microsoft: Winsock error codes · Microsoft: Winsock name resolution · POSIX: errno.h
Looking for a different code? Search another status or error code.