gnustep-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Hosts MAC address available from within Foundation?


From: Chris Vetter
Subject: Re: Hosts MAC address available from within Foundation?
Date: Tue, 20 Mar 2007 21:36:25 +0100
User-agent: GNUMail (Version 1.2.0)

On 2007-03-20 19:22:00 +0100 Michael Hopkins <address@hidden> wrote:
Is there some part of the Foundation API that lets me unambiguously discover
the MAC address of the host running the application?

No, but you can use getaddrinfo(3) to obtain a socket address structure, then loop through each entry and check whether it's AF_LINK.

--
Chris






reply via email to

[Prev in Thread] Current Thread [Next in Thread]