Hi Peter,

Nice observation about name resolving.

On my MacBook, if i switch off the wifi, then 7 addresses are returned 4 for 
the en0 and 3 for lo0. Seems overkill to use all of them and the 
sub-interefaces, if any. I agree with Doug, selecting the first interface's MAC 
address is probably sufficient.

Paul.

On Sep 16, 2013, at 2:46 PM, Peter Levart <peter.lev...@gmail.com> wrote:

<snip>
> NetworkInterface also has one method called getHardwareAddress(). This might 
> me interesting too...
> 
> 
> Regards, Peter
> 

Reply via email to