OP is talking about a jump to entrepreneurship. Why would an entrepreneur talk to a recruiter about their salary?
If OP is considering a move to contract software development work, your advice could be relevant to OP not offering his/her hourly contract rate to third party recruiters who ask for it, but most independent contractors have an hourly rate because they know the market for their skills.