Bluetooth and getpeername

The getpeername function is used to retrieve the Bluetooth address of the peer Bluetooth device. The getpeername function is only valid for connected Bluetooth sockets.

For more information, see Windows Sockets.

Windows Sockets

getpeername