29 Nov 06:16
Re: [Review] UUID library (mini-)review starts today, November 23rd
Andy Tompkins <atompkins <at> fastmail.fm>
2008-11-29 05:16:10 GMT
2008-11-29 05:16:10 GMT
On Fri, 28 Nov 2008 17:40:44 +0100, "Manuel Fiorelli" <manuel.fiorelli <at> gmail.com> said: > Francois Barel wrote: > > I recently saw the case where a developer thought he was getting > > something unique by retrieving the first MAC address of the > > machine... only to discover that on machines with VMWare installed, > > the first two returned MAC addresses are actually the MAC addresses > > of VMWare's virtual network adapters, which are (by default) the > > same everywhere. IOW, his code was returning the same MAC address on > > every PC with VMWare installed. > > > > François > > I wasn't aware of that issue. Things are yet complicated, but your > point complicates them much more. Wow complicated indeed. I agree that one could make a generic uuid generator that is given that MAC address. And then create some platform specific generators that work on top of the generic one. But the generic uuid generator will still have to be in the public interface for those complicated cases. > Manuel Fiorelli > Thanks, Andy Tompkins _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
RSS Feed