Bothe server and client