Qt/C++ : How to get remote PC (communication peer) MAC address?
问题 I am using Qt5 on Windows 7. In my application ( TCP server ), I am currently using some methods from QTcpSocket class: - QAbstractSocket::peerAddress() in order to get the peer address ; - QAbstractSocket::peerPort() in order to get the peer port . I would also want to get the MAC address of the communication peer. Is this possible, without using a custom protocol (i.e. without having to exchange some custom messages between my app and the peer)? If yes, how? Late Edit : There is now a very