Results 1 to 3 of 3
hai,
can anybody help in finding the unique CPU ID through socket programing...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 06-17-2006 #1Just Joined!
- Join Date
- May 2006
- Posts
- 9
How to get CPU ID?
hai,
can anybody help in finding the unique CPU ID through socket programing
- 06-18-2006 #2Linux User
- Join Date
- Aug 2005
- Location
- Italy
- Posts
- 401
See in mplayer-try7 sources (probably present in CVS or the last try8 release):
the file is cpudetect.c.When using Windows, have you ever told "Ehi... do your business?"
Linux user #396597 (http://counter.li.org)
- 06-18-2006 #3Linux User
- Join Date
- Jun 2006
- Posts
- 311
Hi dicorr,
If it is an Intel CPU, then you can use the assembler command CPUID.
In UNIX machines, there is a function gethostid() which returns a unique 32-bit identifier for that machine.
I do not think that answered your question. But going through the source of mplayer is a better idea.
With Regards,
Thinker


Reply With Quote
