check the send and receive