client to server & server to client communication