I doubt if boost has one such generic API, you can try ACE, but I doubt that too - best way is to have your own. Just that you might have to search a bit of NDIS & MSDN documentation.

Cheers
/R

On Fri, Aug 22, 2008 at 10:01 AM, Jean-Sebastien Stoezel <js.stoezel@gmail.com> wrote:
Hi,

Thanks for your quick answer. I am running Windows XP so I am not sure
I have access to ioctl... I would like to provide a solution that is
OS independent, this is why I would like to use Boost... Does boost
provide an interface to get the MAC address?

Thanks,
Jean

On 8/22/08, Ramesh <rramesh1@gmail.com> wrote:
> Hello Jean,
>
> You could do this using a standard ioctl call to your ethernet driver from
> the user space, AFAIK you perhaps do not need boost to get the mac address.
>
> Cheers
> /Ramesh
>
>
> On Fri, Aug 22, 2008 at 9:48 AM, Jean-Sebastien Stoezel
> <js.stoezel@gmail.com> wrote:
> >
> > Hello,
> >
> > How to get the MAC address of an ethernet interface, using the boost
> > C++ library?
> >
> > Thanks,
> > Jean
> > _______________________________________________
> > Boost-users mailing list
> > Boost-users@lists.boost.org
> >
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
> >
>
>
> _______________________________________________
> Boost-users mailing list
> Boost-users@lists.boost.org
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>
_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users