Man gets prison time in child solicitation