I looked up the specs and found the ff: https://www.engadget.com/products/hp/compaq/6710b/specs/
To highlight, CPU: Core2Duo T7500
This would be either BGA or socket mounted, depending on the fancies of the manufacturer. An i5 6600K is physically incompatible with the unit, not to mention that we're talking about hardware that's around 10 years old.
Depending on your use case a Thinkpad T470 may give you more mileage, unless you're programming for iOS. in that case a MacBook Air would be more useful.
Addendum: This is the T470 that you're looking at, right?