scanf client