attributes size and socket state change. possible fix of cpu bug.
lost return type change.
Merge pull request #245 from custodian/cpu_bug_fix

attributes size and socket state change. possible fix of cpu bug.