Sending and receiving in client done