can send to server and receive from client