[Qt-interest] how to get the mac address

Roger WANG roger.wang at linux.intel.com
Tue Jan 26 03:32:09 CET 2010


On Tue, 2010-01-26 at 10:06 +0800 Tang Ke wrote:
> hi guys.
> when I use the QTcpSocket to connect the QTcpServer, at QTcpServer,How 
> can I get the client's mac address?

You cannot -- the MAC address is only visible inside a local subnet. It
is the address of link layer, which sits below the IP layer.

> or the Qt network library is not contains the mac address?
> 
> thanks
> best regards.
> tangk at lemote.com

-- 
Roger WANG



More information about the Qt-interest-old mailing list