Bluetooth and getaddrinfo
The getaddrinfo function provides translation from host name to address for IP-based transports. Because the getaddrinfo function is specific to IP-based transports, it fails on Bluetooth sockets.
To perform translation from host name to address for Bluetooth sockets, use the WSALookupServiceBegin function with LUP_CONTAINERS to query remote devices, then search for a specific matching Remote Name and corresponding address.
Related topics